Monday, November 12, 2018

How to login to SSH and have username and password automatically entered?

I've been using nothing but Windows for years. I'm transitioning to Linux and I'm trying to make the transition as easy as possible since I have almost no knowledge of Linux.



On Windows, I currently use desktop shortcuts with PuTTY as a quick and easy way to connect to different proxy servers. I have created shortcuts for PuTTY that allow me to simply double-click them which opens PuTTY, which connects to the server and supplies the username and password. Pretty much what is being done in this article: http://jafty.com/blog/how-to-make-putty-automatically-login-with-user-and-password/



I need to forward certain local ports to certain ports on the proxy servers (e.g., L8888->localhost:2222) so I can specify multiple HTTP and SOCKS proxy settings in browsers and other apps.



Is there a way to mimic this "auto-login" that I'm doing on the Windows box or is there a better, more secure way of doing this on Ubuntu? The usernames and passwords are very complex and I need to connect and disconnect frequently. Unfortunately, I have no control over the servers so usernames/passwords have to be used.

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...