New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
putty for ubuntu
I've few servers to manage so I used putty for ssh access. And I created putty shortcuts for each server on windows laptop.
It was like this.
C:\putty.exe [email protected] -pw password
Just switch from windows to ubuntu and no idea how to create auto login shortcuts on ubuntu 16.04 64bit. Please help me
Comments
ssh config
Just do as hzr mentioned above:
nano /etc/ssh/ssh_config
And add at the end of the file
host friendly_name
HostName 192.168.1.250
User root
Port 22
After that you can just do something like this from your laptop
ssh friendly_name
Thanks a lot. It worked. But I have to type my password each time when I login from this. I have 8 servers with different passwords. Also right click copy paste not working there. Putty was really simple for everything. How to do this with putty?
You'll better use ssh keys instead of passwords. Linux OS has a built in ssh terminal, no need for putty on linux
If you want to only type your password once,
look into ssh-askpass- this won't work for different passwords. Depending on what shell you're using, paste and copy may very well be the middle mouse button (or both at once). Use a featureful terminal, they usually have a copy/paste built in. UXTerm will have this ability; rxvt probably doesn't.+1 for the keys
I also recommand the use of ssh keys, even if it will require more effort to setup and even if it is one key to rule them all it is more secure.
Using SSH keys doesn't have to be complicated.
Just generate a pair: ssh-keygen -t rsa -C comment
Then copy the public key to each of your server: ssh-copy-id [email protected]
You will then be able to SSH directly without password.
Cheers!
Its not working on the linux version of putty.
Install wine and then download putty windows version and run it from wine, you will have right click copy. There are a lot of tutorials for wine so you will not have problems
Keys are best but there's also ssh-agent.
Pfff... why wine when it is only going to be used for ssh ...................
SSH keys works fine. Thanks to everyone who helped me.