You are not logged in.
Pages: 1
I've recently had issues with SSH. When I ssh into a server I get the following:
no such identity: /home/tyjones/.ssh/id_rsa: No such file or directory
no such identity: /home/tyjones/.ssh/id_dsa: No such file or directory
no such identity: /home/tyjones/.ssh/id_ecdsa: No such file or directory
tyjones@xxxxxxxxxx's password:
I haven't been able to find anything on Google or the Arch Linux forums/wiki.
I haven't tried anything as I'm not sure where to start since I am not sure if I did anything to mess this up. I have recently added a function to my .bashrc file (which caused some issues with commands not being recognize, such as 'ls') and smb.conf but I don't think that would have any effect.
Any thoughts?
Thanks!
Last edited by whotyjones (2013-04-02 13:30:56)
Offline
I'm only able to confirm this issue. I have no idea why ssh would look for those files in this simple use-case (logging via password without certificate) :<
And why all of them (rsa dsa ecdsa)? :<
EDIT: It seems to be a harmless, upstream bug (contains workaround) - https://bugs.archlinux.org/task/34490
Last edited by swiftgeek (2013-03-27 19:23:32)
Offline
Go to /etc/ssh/ssh_config and uncomment
IdentityFile ~/.ssh/id_rsa
or whatever id file you're using.
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
Uncommented those lines but the error persisted. I ran ssh-keygen to take care of the id_rsa error, but not sure about the others.
Offline
You would have to generate a key as well, that is done through the command ssh-keygen.
Offline
Looking at the ssh-keygen manual, I couldn't find anything to generate the other keys. I tried the -A option to generate all, but it didn't seem to have an effect.
Offline
Have you generated your own ssh keys?
ssh-keygen -t rsa
Or dsa or whichever type you want, and there are more options available. More detail here: https://wiki.archlinux.org/index.php/SSH_Keys.
Last edited by bananagranola (2013-04-02 01:59:44)
Offline
Awesome, that took care of the dsa one, which leaves the .ssh/identity file still coming up as missing.
I ended up looking back through the man pages and seeing an option '-f' for the output file.
I ran:
ssh-keygen -f ~/.ssh/identity
and this took care of things. Thanks!
Offline
Seems, this command doesn't helps:
ssh-keygen -f ~/.ssh/identity
Offline
What was your output? Also, my room mate is from Kiev (as your location says)
Offline
Seems, this command doesn't helps:
ssh-keygen -f ~/.ssh/identity
make identifies one by one, 4ex
ssh-keygen -t rsa
ssh-keygen -t dsa
ssh-keygen -t ecdsa
it was working for me.
Offline
Pages: 1