http://stackoverflow.com/questions/3457719/complete-password-field-scp-command-on-linux

http://www.uini.net/?p=356

You can generate a pair of RSA/DSA keys (public and private). In your terminal:

$ ssh-keygen

It will generate a pair of files:

  • Private key: .ssh/id_dsa
  • Public key: .ssh/id_dsa.pub

Then, if you have access to remote host, you can add your public key to .ssh/authorized_keys file. In your remote host, copy the public key and use the following command:

cat id_dsa.pub >>.ssh/authorized_keys

 

相关文章:

  • 2021-11-02
  • 2022-12-23
  • 2022-12-23
  • 2021-08-24
  • 2022-12-23
  • 2021-08-31
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-07
  • 2022-02-20
相关资源
相似解决方案