I am wondering if there is a way to notify ssh of the remote home directory?
Here is my situation. On my local machine, I am using cygwin and create the private and public keys using ssh-keygen. These keys are stored in:
Quote:
/home/bob/.ssh/id_dsa AND /home/bob/.ssh/id_dsa.pub
|
However, on the remote machine, the home directory for bob is set to: /home/ftp-users so I place my id_dsa.pub data in: /home/ftp-users/.ssh/authorized_users.
This is where the problem occurs. If I do:
ssh -vvv
bob@remote.server
I get the following [partial] output:
Code:
debug1: Authentications that can continue: publickey,password,keyboard-interacti
ve
debug1: Trying private key: /home/bob/.ssh/id_dsa
debug3: no such identity: /home/bob/.ssh/id_dsa
debug2: we did not send a packet, disable method
debug3: authmethod_lookup keyboard-interactive
debug3: remaining preferred: password
debug3: authmethod_is_enabled keyboard-interactive
Is it trying to find the authorized_keys in /home/bob on the remote machine or do I just have something else wrong?
I think the problem occurs with the messages:
Code:
debug3: no such identity: /home/bob/.ssh/id_dsa
debug2: we did not send a packet, disable method
Anyone have any other suggestions? Any way to see what the server is attempting during this process?
P.S. I am using the same versions of OpenSSH on both machines (3.6.1p1) and I am able to log in properly using the password. Furthermore, I have set up another PC using SSH Secure Shell and have got the public key authorization to work correctly with the same remote server setup.