ssh commands to log in without the password
# ssh-keygen -t rsa
* This will generate your id_rsa and id_rsa.pub in the .ssh directory in your home directory
* copy the id_rsa.pub to the .ssh directory of the remote host you want to logon to as authorized_keys2
* If you have more than one host from which you want to connect to the remote host, you need to add the local host's id_rsa.pub as one line in the authorized_keys2 file of the remote host command for the 1and1 servers is:
# scp .ssh/id_rsa.pub u35894953@217.160.226.69:./.ssh/authorized_keys2
:)
Subscribe to:
Post Comments (Atom)
Optimizing the Linux (OS) for Database
Optimizing the Linux (OS) for Database Optimizing the operating system (OS) for a Database Server/MySQL server involves configuring various ...
-
Change Views DEFINER without ALTER VIEW: UPDATE `mysql`.`proc` p SET definer = ‘root@localhost’ WHERE definer=’root@foobar’ AND db=’w...
-
If you accidentally created a file with a - in the beginning then you want to remove it, you have to do : rm ./-thefile
-
The Unix top command is designed to help users determine which processes are running and which applications are using more memory or process...
1 comment:
It worked for me. Thanks
Post a Comment