|
|
|
|
||||||
| comp.security.ssh SSH secure remote login and tunneling tools. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hi@all
I set up a passwordless ssh between two computers under account e.g tinyos. I works perfect. However if i switch to another account e.g. www-data, the decryption will fail. It keeps asking me the passphrase, after i give the right one, it keeps informing me: Bad passphrase, try again for /home/tinyos/.ssh/id_rsa: Does it mean that, the decryption only works for the account which generates the key? Need your ! thanks db |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
i have found the reason:
The know_host file is necessary for the login. This file is supposed to be saved in /var/www/.ssh. Therefore i use account "tinyos" to create directory .ssh, then chown www-data .ssh, change the ownership to www-data. Then the passwordless ssh works for www-data db |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
i have found the reason:
The know_host file is necessary for the login. This file is supposed to be saved in /var/www/.ssh. Therefore i use account "tinyos" to create directory .ssh, then chown www-data .ssh, change the ownership to www-data. Then the passwordless ssh works for www-data db |
|
![]() |
| Outils de la discussion | |
|
|