I don't think this is a new problem, but I can't find a solution anywhere, and it's quite annoying:
In the office, I have a workstation running Debian Lenny with Gnome, and I've copied my ssh key to some other machines for secure and easy login without havin' to remember all the passwords.
Of course, my key is protected by a passphrase, so, when I try to login to one of the other machines, a window pops up, and asks me for the passphrase.
So far, so good, as long as I'm sitting at my desk this works perfectly well - but, sometimes I have to work remotely, so, I login (also by ssh) to my office workstation, and here's the problem:
I can't unlock my ssh key from remote, it seems that something (ssh-agent? Gnome keyring?) "controls" the key and prevents unlocking. The ssh client even asks me to enter the passphrase, but it's not accepted...
Any ideas? Can it be because I'm always logged in at work, and only locking the screen when I leave my desk?
Usually the ssh-agent shouldn't block access, as it should only be enabled for processes started from within GNOME.
Could you give a more detailed description of your setup? Location and name of SSH keys, relevant connection commands, whether or not X11 forwarding is enabled, ...
thanks for your reply, and here's a more detailed description of my setup on the office system:
1. Relevant (uncommented) lines from /etc/ssh/ssh_config:
2. X11-Forwarding is enabled in ~/.ssh/config:
3. Directory listing of ~/.ssh/, where the keys are located:
4. and finally, here's a trace of a try to establish the connection from the office system:
(The system is first trying the RSA-key which is blacklisted on the target server 'cause is vulnerable - but I'm still using it on some internal systems, so I can't remove it. And, it should be harmless AFAIK, as the "right" DSA-key is tried afterwards).
I hope these informations help to bring some more light into the dark,
Yes, it's helpful, especially the last few lines in the debug output. It's asking for the passphrase protecting the private key ~/.ssh/id_dsa. If it shouldn't do that, there are 2 possible problem sources: you're using a different key pair (the .bofh key maybe), in which case you can specify it with the -i option.
Or you've used special characters when you entered the passphrase, in which case it might get ugly. Check that your terminals language settings are the same as in your GNOME environment, and that the connection program you're using supports that input method (probably UTF-8)
thanks again for the reply, I've checked your suggestions:
First, id_dsa is the right key, the others are backups I've made during my tests since I suspected a problem with the key.
I've copied the DSA key pair again from my private machine, to ensure it's the right one - the result is the same, I can't unlock the key.
And, there are no special characters in the passphrase, I've typed it on the remote machine's console, and it's shown okay - so, I think the problem is not related to character sets or key encoding...
Nevertheless, here's a debug output of a successful login from my private system:
Here, a window pops up asking for the passphrase of the DSA key
the debugger says you are not in the group
make the user part of the group and try
and the success connection is from the same machine if i am not wrong?
Hi.
I'm trying add wallpapers in /usr/share/backgrounds/gnome. And I already put the image file jpg in local specified before and added configuration in /usr/share/gnome-background-properties/gnome-backgrounds.xml.
<wallpaper deleted="false">
<name>NNNN</name>
... (1 Reply)
Hi All,
My chrome browser was working correctly on my Debian Lenny 5 PC..Today i downloaded the version from google and tried to install the deb from command line as follows:
dpkg -i <latest-chrome-package>
The installation failed but now my existing old chrome browser is not starting.
... (2 Replies)
Hello, please which virtualisation is most ligtweight and compatible with Debian and Gnome?
I wish to run Android OS in an container and be able to see android desktop from my Gnome
Thank you (0 Replies)
Hello. I am trying to ssh and run a script from a remote computer. These computers will be both Windows and MACs. I am using Solaris 8 and what I have tried is:
using putty
ssh user@ip_address (remote command) /folder/folder/filename.sh
The issue here is that the user profile has not... (3 Replies)
Hi, I've used the following way to set ssh public key authentication and it is working fine on Solaris 10, RedHat Linux and SuSE Linux servers without any problem. But I got error 'Server refused our key' on Solaris 8 system. Solaris 8 uses SSH2 too. Why? Please help. Thanks.
... (1 Reply)
Hello,
i'd need to downgrade sh to the latest 3.1 version, been trying to pin the version in apt preferences or use aptitude but it doesn't want to work. (Best possible to GNU bash, version 3.1.17(1)-release (x86_64-pc-linux-gnu))
Linux version 2.6.26-2-amd64 (Debian 2.6.26-19lenny2)... (0 Replies)
Hi everybody!
I have a very big problem, I can not make any updates on my debian lenny.
I get everytime this errors with apt-get update:
Err http://security.debian.org lenny/updates Release.gpg
Connection failed
Err http://www.backports.org lenny-backports Release.gpg
Connection... (2 Replies)