Easy SSH
Hi Friends , I have found a Easy way to access your LAHTP ssh Server .
I know that every One is Tired of Typing the commands Again and Again
Here is the Easy Way to do it,
Open Terminal and Type the command “sudo apt-get install sshpass”
Open a word file and paste this code,
#!/bin/bash
sshpass -p password ssh username@learn.selfmade.ninja -p port
example: sshpass -p john@087 ssh john@learn.selfmade.ninja -p 7894
save the file with your preferable names which is not used by the system such as( sd, as ,zx …)
Note : save the file without .sh extenstion
copying the file to /usr/bin/ , Type the command in terminal .
sudo cp filename /usr/bin/
Congrats , You Have Done.
Now You can Use Your server with the Script name.