04-04-2010
Remotely unlock ssh key (Gnome, Debian Lenny)
Hi,
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?
Hope anyone can shed some light on this,
Harald
8 More Discussions You Might Find Interesting
1. Debian
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)
Discussion started by: magge
2 Replies
2. Shell Programming and Scripting
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)
Discussion started by: TehOne
0 Replies
3. Debian
Hi all
im trying to install Java in Debian lenny with apt-get install but can find the packages...anyone can help me on this one?
thanks (2 Replies)
Discussion started by: ro0t3d
2 Replies
4. Solaris
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)
Discussion started by: aixlover
1 Replies
5. Solaris
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)
Discussion started by: jkmtm
3 Replies
6. UNIX Desktop Questions & Answers
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)
Discussion started by: postcd
0 Replies
7. Linux
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)
Discussion started by: coolatt
2 Replies
8. Debian
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)
Discussion started by: malgen
1 Replies
LEARN ABOUT DEBIAN
ssh-askpass-fullscreen
SSH-ASKPASS-FULLSCREEN(1) General Commands Manual SSH-ASKPASS-FULLSCREEN(1)
NAME
ssh-askpass-fullscreen - A simple replacement for ssh-askpass written with gtk2
SYNOPSIS
ssh-askpass-fullscreen
DESCRIPTION
This manual page was written for the Debian distribution because the original program does not have a manual page.
gnome-ssh-askpass is a GNOME-based passphrase dialog for use with OpenSSH. It is intended to be called by the ssh-add(1) program and not
invoked directly. It allows ssh-add(1) to obtain a passphrase from a user, even if not connected to a terminal (assuming that an X display
is available). This happens auto-matically in the case where ssh-add is invoked from one's ~/.xsession or as one of the GNOME startup pro-
grams, for example.
In order to be called automatically by ssh-add, ssh-askpass-fullscreen should be installed as /usr/bin/ssh-askpass
ssh-askpass-fullscreen is a program that...
ENVIRONMENT VARIABLES
The following environment variables are recognized:
GNOME_SSH_ASKPASS_GRAB_SERVER
Causes gnome-ssh-askpass to grab the X server before asking for a passphrase.
GNOME_SSH_ASKPASS_GRAB_POINTER
Causes gnome-ssh-askpass to grab the mouse pointer will be grabbed too.
These may have some benefit to security if you don't trust your X server. Keyboard is always grabbed.
SEE ALSO
ssh-add(1), ssh-askpass(1).
AUTHOR
This manual page was written by Marco Presi (Zufus) <zufus@debian.org>, for the Debian GNU/Linux system (but may be used by others) and it
is based on that for x11-ssh-askpass by Philip Hands and the one for gnome-ssh-askpass by Colin Watson <cjwatson@debian.org>
May 8 , 2004 SSH-ASKPASS-FULLSCREEN(1)