Skip to content

This Project is to use to when we need to give root access of server without sharing root password

Notifications You must be signed in to change notification settings

ankitvadariya/ssh-client-connection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSH client connection over http

SSH client connection library can be use when you don't want to share your server's password but you need to give access to user / developer.

To Do :
  1. git clone https://github.com/ankitvadariya/ssh-client-connection.git
  2. cd ssh-client-connection
  3. npm install or yarn install
  4. add server detail in server.js
		  host: "YOUR_HOST",
		  port: PORT, // Generally 22 but some server have diffrent port for security Reson
		  username: "USER", // any user
		  password: "PASSWORD" // Set password or use PrivateKey
		  privateKey: require("fs").readFileSync("PATH OF KEY FILE")
  1. yarn start
  • I would like to recommand SSL if you are going to use on live envirment.
  • Please use it with your own risk.
  • feel free to contact me: [email protected]

About

This Project is to use to when we need to give root access of server without sharing root password

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published