LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 11-23-2004, 11:16 PM   #1
ctyler
LQ Newbie
 
Registered: Nov 2004
Posts: 2

Rep: Reputation: 0
SSH and Ask-pass under gnome


Here is my situation... I have OpenSSH installed and working fine all I want to do is have gnome-ssh-askpass prompt for the passphrase after I login to gnome.

How (exact commands and/or syntax please) do I do this. Googled askpass howto and found squat. If there is a link on how to acomplish this that will work as well.

Do I need to have ssh-agent start and then have askpass put the passphrase into ssh-add? Any help would be appreciated.
 
Old 11-24-2004, 12:33 AM   #2
ctyler
LQ Newbie
 
Registered: Nov 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Nevermind.. I got it..

wrote a batch file...

#!/bin/bash

ssh-agent
ssh-add < /usr/libexec/openssh/gnome-ssh-askpass

Made it executable (chmod +x <filename>) and then added to sessions on the 'Gnome -> Preferences -> More Prefrences -> Sessions'
Works like a charm...

Also found a little howto at http://www.wisptech.com/phpBB2/ under Howto's.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh-agent, ssh-add and ssh-keygen AND CVS raylpc Linux - General 2 11-19-2008 02:50 AM
How Can I Pass ($b,%c,$d) to a Perl Sub benpedersen Programming 8 02-23-2005 03:44 PM
Pass password with ssh command BruceC Linux - Newbie 2 05-12-2004 08:55 AM
Starting ssh-agent with GNOME/GDM tawalker Linux - Software 4 05-12-2004 03:24 AM
How do you disable gnome themes on other apps?/Emacs distorted over ssh ShyGuy91284 Linux - General 0 03-31-2004 05:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 04:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration