SSH Agent in GNOME Doesn't Work

Hey There,
I'm using GNOME for my personal desktop needs.. I have to connect to several remote server (or PC's) in a shell and I don't want to re-enter my passwords in the same session. This is my problem:
[14:28] (tunix@penguix ~)$ ps aux |grep ssh
root      6264  0.0  0.0   3756   816 ?        Ss   09:03   0:00 /usr/sbin/sshd
tunix     6457  0.0  0.0   3400   508 ?        Ss   09:05   0:00 /usr/bin/ssh-agent -- /usr/bin/gnome-session
tunix    19141  0.0  0.0   3428   784 pts/2    R+   14:28   0:00 grep ssh
[14:28] (tunix@penguix ~)$ ssh tunix@kulupler
Enter passphrase for key '/home/tunix/.ssh/id_rsa':
Last login: Sat Sep 29 14:22:37 2007 from 85.97.128.179
[14:26] (tunix@kulupler ~)$ logout
Connection to kulupler closed.
[14:28] (tunix@penguix ~)$ ssh tunix@kulupler
Enter passphrase for key '/home/tunix/.ssh/id_rsa':
[14:28] (tunix@penguix ~)$
So SSH Agent doesn't cache or save the passwords I enter.. So I have to enter the password each time. (Maybe this is happening because of the same reason why Seahorse doesn't working on my system.. :S)
Thanks for any replies..

Did you run ssh-add to tell ssh-agent which key to use ?  If not, ssh-agent will not know anything about any keys/pass phrases you enter into specific ssh sessions.
There's a pretty good tutorial here, with all the basic steps :
http://mah.everybody.org/docs/ssh
WRT seahorse...
Is seahorse-daemon running ?  I haven't used seahorse, so I only have the following as a reference :
http://live.gnome.org/Seahorse/SSHAgent

Similar Messages

  • GNOME doesn't work correctly with startx only by GDM

    This is driving me nuts, I'm having a bunch of problems because I'm starting my GNOME session using startx instead of GDM and this bugs me a lot because I prefer startx most of the times...
    1) One of the problems is that the sound does not work with startx. Starting through GDM, the sound is ok. What's even more frustrating is that sometimes, it doesn't even work through GDM
    2) I can't unlock anything in the "System » Administration" menu. All of the "unlock" buttons are grayed out and I can't click them. But it works on GDM. However, whatever setting I change (after unlocking) is not saved...

    tandycorp wrote:But since your settings cannot be saved correctly you should first try to correct that problem, then the audio problem should  be easy to resolve. In my case the settings are saved correctly (I first installed gdm then completely deleted it). You may want to look to the hal wiki and add your user in /etc/d-bus/system.d/hal.conf. It looks like a session problem.
    I've read the wiki but I don't know what should I do to the hal.conf everything seems "normal" to me...
    EDIT:
    I don't know what I've done (changed lots of things lately and configuration files) but the sound seems to be working now... Not every time, but most of the time, it seems so. I have enabled the button sound (when you click a button) temporarily to see if the sound keeps working for the time being...
    Also, the unlock button now is enabled and here's a thing I found about the settings not being saved. I open "Administration » Services", for instance, and click "unlock", input password, enable GDM, which was disabled of course and click "close". I open "Administration » Services" again and with everything disabled, I see that GDM is not checked, still, I click "unlock" again, the services list is unlocked and GDM is still unchecked. But, if I look inside /etc/rc.conf, I can see the gdm daemon was added to the list... If I reboot the computer, GDM will start automatically and if once again I go to "Administration » Services", now I see GDM checked. If I try to uncheck it, it will work, but I will only see the unchecked value in the "Services" window after another reboot. Is this normal?
    Last edited by Nazgulled (2009-04-01 23:32:41)

  • My Intermedia Web agent and Clipboard doesn't work!

    Hi,Simon
    I'v just downloaded the Intermedia Web agent and Clipboard plugin from OTN a few days ago.But both of it don't work when I install it.Would you please help me look for the reason?
    My operating system is Windows 2000 Professional,and my web server is OAS 4.0.8.1,and my database is 8i.
    When I visit these address"http://host:port/intermedia/^about"and "http://host:port/intermedia/admin",the browser returns to me a error page.
    When I connect to host in Clipborad,it returns to me an error message which says"The following error was received from the intermedia web agent,<HTML><HEAD><TITLE>Invalid host specified</TITLE></HEAD><BODY>The request did not specify a valid virtual host</BODY>
    I don't know if this web agent can work with OAS 4.0.8.1 and if OAS 4.0.8.1 can run in the Windows 2000 Professional.
    Thanks
    null

    Hi,Simon,
    Thank you for your help!I have sent my application information to your product manager by email!
    But the error stll appears.When I typed the whole domain name in the host area of Clipborad,the error message changed to "An application error has occured,please try again!".When I typed the address"http://My host:port/intermedia/~about"(I have substituted ^ with ~ )"and "http://My host:port/intermedia/admin",it still returns an error page which says"HTTP 500 Server internal error......"like before!
    Also,I found other errors about OAS.One Application cannot add the second Cartridge,it returns an error:"OWS-09103:Cartridge section'[Application wscWRBApp" when I do it.So I suspect the reason is my operating system platform,I will try to reinstall it now.
    Regards!
    Reemon                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • In-Home Agent for Mac doesn't work - never has

    I signed up for FIOS service several months ago and have never been able to get Verizon In-Home Agent to work. I can get as far as the level shown below, but when I select one of the grayed options, I get the spinning icon. (See it at lower left corner of the window.) That lasts for a few minutes, then nothing happens - it just goes back to the same window.
    I even tried clicking the "Click here to provide your Feedback." I get the same icon (hard to see, but it's to the left of that link), then back to the same window.
    Running Mac OS X 10.6.8.
    Any ideas?

    I just got FIOS in my all-Mac household. Nothing works for the Mac in FIOS. Not the FIOS t.v. widgets, In-Home Agent or anything else. Verizon is the most Mac unfriendly telecom company I've ever seen. Ironic if you think about what its products are.
    All that will work on a Mac is that it will connect to the Internet. Period.
    Verizon, would it really be too much cost or trouble to develop more Macintosh options?

  • TFS 2012 Update 4 - Build Alert - "A build controller or agent's status changes" doesn't work correctly

    We are running TFS2012 Update 4 and have set up some build alerts.  The alert we have set up is "A build controller or agent's status changes".  When this alert is first set up the default filters which are included are for fields "Team
    Project" and "Status".  However through much testing we have discovered that when either of these fields are included as a filter the alert doesn't work.  When other fields are used in the filter the alert works fine (as long
    as neither of the stated fields are included), indeed if all alert filters are removed then the alert also works successfully.  Has anyone else experienced this?  Is there an issue with the fields "Team Project" and "Status"?

    Hi T Quinn,   
    Thanks for your post.
    I reproduced this scenario in my TFS 2012 Update 4 Server and received the same result.
    For this scenario, please submit it to Microsoft Connect Feedback portal at:
    https://connect.microsoft.com/VisualStudio. Microsoft engineers will evaluate them seriously. 
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • After change to Mavericks my Mac become too slow e I can't use it because stays asking passwords for "talagent" and "messages agent" as icloud keys. I got changed the icloud password many times and still doesn't work. I can't open any program.

    After change to Mavericks my Mac become too slow e I can't use it because stays asking passwords for "talagent" and "messages agent" as icloud keys. I got changed the icloud password many times and still doesn't work. I can't open any program.

    Back up all data.
    Launch the Keychain Access application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Keychain Access in the icon grid.
    Select the login keychain from the list on the left side of the Keychain Access window. If your default keychain has a different name, select that.
    If the lock icon in the top left corner of the window shows that the keychain is locked, click to unlock it. You'll be prompted for the keychain password, which is the same as your login password, unless you've changed it.
    Right-click or control-click the login entry in the list. From the menu that pops up, select Change Settings for Keychain "login". In the sheet that opens, uncheck both boxes, if not already unchecked.
    From the menu bar, select
    Keychain Access ▹ Preferences ▹ First Aid
    If the box marked Keep login keychain unlocked is not checked, check it.
    Select
    Keychain Access ▹ Keychain First Aid
    from the menu bar and repair the keychain. Quit Keychain Access.

  • Ssh config : sshd_config and chroot doesn't work

    Hi,
    We tried to customize ssh parameters in sshd_config file in leopard server (in /etc/ssd_config). We need to restrict ssh and sft users' access only in their folders and not go up in parent folders.
    I read that chroot parameter is the right to do this, but it doesn't work with ssh leopard standard version.
    So I installed with macports last openssh and chroot parameter seems to work (ssh service start correctly) but in this case it's impossible to authentificate users : maybe I must use special parameters to use ODM and Kerberos.
    Have you some ideas ?
    Lines added in sshd_config :
    #Match user myuser
    # ForceCommand internal-sftp
    # ChrootDirectory /Volumes/SAN2/Users/myuser
    Chris

    Meyithi wrote:
    Corsair wrote:I uncommented `make nconfig' and commented `yes "" | make config'.  So now my build() looks like this
    I can't see where on that guide it says to comment 'yes "" | make config", I use the same method and I certainly don't do that.
    EDIT/ Here is PKGBUILD I use - http://paste.pocoo.org/show/376935/
    I also tried to not comment that line.  But as expected, that did not change the behavior of nconfig.  Still did not work...

  • GNOME Proxy Doesn't Work ?

    Hey There,
    Because of my work, I sometimes have to join some networks that I have to use some proxies to connect to the internet.. Because of this, I generally have to set all programs' settings seperately and then back when I'm home let's say... Instead I really would like to use GNOME Proxy settings so that each program that I use would use those settings.. Is this possible ?
    Even Pidgin, Firefox etc.. doesn't work with it..

    Make sure you have FAM enabled in your /etc/rc.conf.  Look for this line in your rc.conf
    DAEMONS=(syslog-ng network crond hal fam)
    and just make sure FAM is included in that line. Fam is needed by gnome.

  • How to get Leopard ssh agent to work if you previously used "SSH Agent" App

    Hi Everyone,
    I had previously been using the *SSH Agent* application from http://www.phil.uu.nl/~xges/ssh/ and wanted to get rid of it and use the built-in support for ssh-agent in Leopard.
    However, it didn't work. Doing "env | grep SSH" it would show /tmp/501/nl.uu.phil.SSHAgent.socket and ssh'ing from a terminal window would request your passphrase every time. Executing ssh-agent would say "no agent is running." Even deleting the *SSH Agent* app and rebooting, it would still have this phil socket.
    The solution is to use terminal, go to your home directory, cd to .MacOSX and look and see if there's an environment.plist file. In there will be some XML to set this persistent string for SSHAUTHSOCK. You need to take that out. If there's other stuff in the file, like a CVSHOME entry, hand-edit the XML to take out the SSHAUTHSOCK entry. (How to do that is beyond the scope of this post.) If the only thing is that entry, just delete the environment.plist file.
    Afterwards, reboot, or maybe just log out and log back in, open a terminal window, and you should be able to ssh out and the system will start ssh-agent behind your back and find your .ssh/id_dsa file or whatever.
    Karl

    The man page for ssh-agent provides the following documentation:
    -a bind_address
    Bind the agent to the unix-domain socket bind_address. The
    default is /tmp/ssh-XXXXXXXXXX/agent.<ppid>.
    The system ssh-agent's startup arguments are in /System/Library/LaunchAgents/org.openbsd.ssh-agent.plist so you could add something like the following to array that defines the ProgramArguments:
    <string>-a</string>
    <string>/whatever/the/path/is/that/you/want/to/have</string>
    Note that since these mods are being done in /System, they could be wiped out by any system update. You could try making a copy of the file and putting the copy in /Library/LaunchAgents; perhaps files in that directory take precedence over files in /System. Certainly, stuff in /Library shouldn't be wiped out by a system update, though.

  • Brightness gnome-applet doesn't work....

    Hi,
    my brightness gnome-applet doesn't wok in my sony vaio vgn s5m....
    how to resolve?
    thanks.

    alex_anthony wrote:
    It doesn't work on a lot of computers. Its because the BIOS is handling your brightness instead of GNOME. I don't think there is a solution. You'll just have to use the keyboard.
    100th Post!
    thanks

  • NetworkManager doesn't work on gnome

    Hi there,
    I installed Gnome and everything works, but if i install NetworkManager and start it there isn't any tray icon.
    If i kill nm-applet and then start it again i got this messgae/error:
    ** (nm-applet:2168): WARNING **: <WARN> hal_net_physdev_cb(): dbus returned an error.
    (org.freedesktop.Hal.NoSuchProperty) No property net.physical_device on device with id /org/freedesktop/Hal/devices/net_(removed mac address)
    ** (nm-applet:2168): WARNING **: <WARN> hal_net_physdev_cb(): dbus returned an error.
    (org.freedesktop.Hal.NoSuchProperty) No property net.physical_device on device with id /org/freedesktop/Hal/devices/net_(removed mac address)
    Thanks in advance

    Never mind wonder, but should there be more groups in de root or user?
    I'm trying for days to get it work, but with no succes.
    BTW, wicd is no option. I have always trouble connecting with my wireless network.
    rc.conf
    # /etc/rc.conf - Main Configuration for Arch Linux
    # LOCALIZATION
    # LOCALE: available languages can be listed with the 'locale -a' command
    # HARDWARECLOCK: set to "UTC" or "localtime"
    # USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
    # TIMEZONE: timezones are found in /usr/share/zoneinfo
    # KEYMAP: keymaps are found in /usr/share/kbd/keymaps
    # CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
    # CONSOLEMAP: found in /usr/share/kbd/consoletrans
    # USECOLOR: use ANSI color sequences in startup messages
    LOCALE="en_US.utf8"
    HARDWARECLOCK="localtime"
    USEDIRECTISA="no"
    TIMEZONE="Canada/Pacific"
    KEYMAP="us"
    CONSOLEFONT=
    CONSOLEMAP=
    USECOLOR="yes"
    # HARDWARE
    # MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
    # MOD_BLACKLIST: Prevent udev from loading these modules
    # MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
    # NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
    MOD_AUTOLOAD="yes"
    #MOD_BLACKLIST=() #deprecated
    MODULES=(atl2 ath5k ath_hal ath_pci wlan snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore)
    # Scan for LVM volume groups at startup, required if you use LVM
    USELVM="no"
    # NETWORKING
    # HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
    HOSTNAME="eeepc"
    # Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
    # Interfaces to start at boot-up (in this order)
    # Declare each interface then list in INTERFACES
    #   - prefix an entry in INTERFACES with a ! to disable it
    #   - no hyphens in your interface names - Bash doesn't like it
    # DHCP:     Set your interface to "dhcp" (eth0="dhcp")
    # Wireless: See network profiles below
    eth0="dhcp"
    INTERFACES=(lo !eth0 !ath0)
    # Routes to start at boot-up (in this order)
    # Declare each route then list in ROUTES
    #   - prefix an entry in ROUTES with a ! to disable it
    gateway="default gw 192.168.0.1"
    ROUTES=(!gateway)
    # Enable these network profiles at boot-up.  These are only useful
    # if you happen to need multiple network configurations (ie, laptop users)
    #   - set to 'menu' to present a menu during boot-up (dialog package required)
    #   - prefix an entry with a ! to disable it
    # Network profiles are found in /etc/network.d
    # This now requires the netcfg package
    #NETWORKS=(main)
    # DAEMONS
    # Daemons to start at boot-up (in this order)
    #   - prefix a daemon with a ! to disable it
    #   - prefix a daemon with a @ to start it up in the background
    DAEMONS=(syslog-ng !network dbus hal dhcdbd networkmanager netfs
    crond fam gdm portmap)
    Last edited by Tenshu (2008-09-08 18:18:32)

  • [solved] SSH doesn't work over PPTP VPN with pptpclient

    I just got set up with access to my work's PPTP VPN. Using pptpclient I can establish a connection and ping servers. I can use telnet to confirm ports 22, 80 etc are accessible and I can access web services in my browser, but SSH doesn't work.
    When I try and SSH to a server it just hangs for a minute and then "Connection closed by 10.70.11.10". Wondering if SSH was using my default route rather than the appropriate tunnel, I tried setting my default route to use the VPN, and ping, telnet, nmap etc still seem to function and return expected results, but SSH still hangs and closes. There are no entries in the sshd log on the servers that I attempted to get access to. I have both Arch and CentOS servers and I cannot get to either via SSH.
    My colleague connected to the VPN on his mobile phone and managed to SSH to a server, so it doesn't seem that the VPN is blocking this... any ideas?
    Thanks
    [update]
    Solved! I found that in /etc/ppp/options, un-commenting -mru fixed this for me:
    # Disable MRU [Maximum Receive Unit] negotiation (use default, i.e.
    # 1500).
    -mru
    [/update]
    Last edited by jsteel (2014-08-10 20:06:31)

    targetbsp wrote:
    summit48 wrote:
     Windows10 has hijacked the back end believing every Laptop and Desktop PC is a Smartphone. What do you mean by that?Windows 10: Microsoft under attack over privacyhttp://www.theguardian.com/technology/2015/jul/31/windows-10-microsoft-faces-criticism-over-privacy-default-settings In the "one size fits all" philosophy of Microsoft there is no distinction between a smartphone and a PC. You might turn some of these privacy setting on for a smartphone but not on a PC. 

  • Tiff2icns doesn't work via ssh w/o window manager

    I need to run tiff2icns on a Mac mini (Mac OS X 10.4.6) via a remote ssh connection. Unfortunately this doesn't work if I don't have a window manager session open on the Mac at that time. Is this a bug in tiff2icns, or am I doing something wrong? I want to run tiff2icns without having a window manager open on the remote system.
    Franz
    Mac mini   Mac OS X (10.4.6)  

    any ideas?

  • Gnome 2.18 doesn't work with heliodor

    Hey,
    i wanted to ask if you too have problems with beryl and gnome 2.18
    i updated it yesterday and heliodor doesn't work. The only way to get window-decorator is emerald, but even that crashes often.
    is this a known problem?
    ngerrit

    [cimi@aries ~]$ cat /var/abs/extra/x11/heliodor/PKGBUILD
    # $Id: PKGBUILD,v 1.1 2007/03/15 12:34:59 thomas Exp $
    # Maintainer: Thomas Baechler <[email protected]>
    pkgname=heliodor
    pkgver=0.2.1
    pkgrel=1
    pkgdesc="GNOME Window decorator for beryl that uses metacity themes"
    url="http://www.beryl-project.org/"
    arch=('i686')
    depends=('beryl-core' 'control-center' 'libwnck' 'libbonobo')
    makedepends=('intltool' 'pkgconfig' 'beryl-plugins')
    conflicts=('heliodor-svn')
    groups=('beryl-gnome')
    options=(NOLIBTOOL)
    source=(http://releases.beryl-project.org/${pkgver}/${pkgname}-${pkgver}.tar.bz2)
    md5sums=()
    build() {
    cd $startdir/src/${pkgname}-${pkgver}
    ./configure --prefix=/opt/gnome
    make || return 1
    make DESTDIR=$startdir/pkg install
    this one worked

  • Upgrade on Gnome 2.24 - Remember Running Apps doesn't work

    Hello,
    since years I use the feature in Gnome to save what applications were running the last time and where the windows of the applicatons were placed and so on. This feature is still included in 2.24 and as far as I know it works via Metacity, but since the upgrade it doesn't work.
    The only hint is this warning at startup of X11 (I don't use GDM):
    Any idea what I can change?
    Thanks Hoschi
    Last edited by hoschi (2008-11-06 19:57:46)

    for other notification to work like mounts, network connections, volume keys, bat status you need gnome-power-manager-notify-osd and gnome-settings-daemon-notify-osd
    regards

Maybe you are looking for

  • How to create a form with two column headings

    I have a business request to create a data form to handle multi year data by month. This will require creating a form with two column headings - with the first row be Year and second row be month, and data entry will begin in the third row and down.

  • Database is Hanging after executing the Procedure ...

    Dear All i am using 10G. I Have a procedure . After executing the Procedure when i try to call that procedure it is hanging ... it is creating Locks .. As our DBA told..And told to check the code ... Can any one tell me how can i put mu codes with fo

  • Can't activate iPad after getting it from repair. Need help quick!

    I recently broke the screen of my iPad but the hardware was working very well. Today I got it back from the repair service I gave it to (not Apple store), and when I turn on the iPad, it tells me to activate the iPad using my Apple ID, I enter all my

  • FF won't restart in safe mode...it won't even shut down.

    you know that soft clicking noise you can hear in your computer? Mine stopped doing that a little while ago. It's eerily quiet. Also, I keep getting hung up. If I watch a video on youtube (for example) FF freezes & I have to shut down the plug-in con

  • BW queries

    Hi Guys Can any body help me with below set of queries. Basically i need answers to this in a simplied manner such that it is understood by a ppl who is totally new to BW. a) What is Memory management system ( So that You could reduce Database hit at