- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ssh-agent 'how to start'
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 05:45 AM
08-22-2005 05:45 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 05:53 AM
08-22-2005 05:53 AM
Solutionpersonally I have the following in my .profile so I do not need to start it manually everytime.
ssh_conf() {
if [ -f ~/.ssh/agent_env ]
then
. ~/.ssh/agent_env > /dev/null
if ! kill -0 $SSH_AGENT_PID > /dev/null 2>&1; then
echo "spawning new agent"
eval `ssh-agent | tee ~/.ssh/agent_env`
ssh-add
fi
else
echo "starting ssh-agent"
eval `ssh-agent | tee ~/.ssh/agent_env`
ssh-add
fi
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 05:55 AM
08-22-2005 05:55 AM
Re: ssh-agent 'how to start'
Are you talking about sshd daemon??
On hp-ux (is you installed hp's ssh version)
it is started as follows.
/sbin/init.d/secsh start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 05:57 AM
08-22-2005 05:57 AM
Re: ssh-agent 'how to start'
http://docs.hp.com/en/T1471-90005/index.html
And you can download openssh also:
http://hpux.cs.utah.edu/hppd/hpux/Networking/Admin/openssh-4.1p1/
Alex.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 05:57 AM
08-22-2005 05:57 AM
Re: ssh-agent 'how to start'
/sbin/init.d/secsh start
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 06:04 AM
08-22-2005 06:04 AM
Re: ssh-agent 'how to start'
had sshd running just fine...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 06:09 AM
08-22-2005 06:09 AM
Re: ssh-agent 'how to start'
Well, starting the sshd daemon all depends on
A) Whether you're running the HP compiled / packaged version & in that case the start command given in earlier posts is correct with the caveat that it should have links from /sbin/rc3.d to auto-start it & /sbin/rc2.d to auto-stop it
B) Whether you've compiled / packaged it yourself as we do. In that case we use /sbin/init.d/sshd2 & link to it from /sbin/rc3.d/S300sshd2 for autostart at boot & from /sbin/rc2.d/K700sshd2 to stop it at shutdown.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 06:27 AM
08-22-2005 06:27 AM
Re: ssh-agent 'how to start'
So you can issue the command as :
/opt/ssh/bin/ssh -l remote_user remote_host -i identity_key_file
if you omit the -i option, the default identity file is either of the following
For ssh Ver. 1
$HOME/.ssh/id_rsa
For ssh Ver. 2
$HOME/.ssh/id_dsa
hope this helps
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 07:13 AM
08-22-2005 07:13 AM
Re: ssh-agent 'how to start'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 07:22 AM
08-22-2005 07:22 AM
Re: ssh-agent 'how to start'
ssh-agent does not run automatically, at least with HP's installation of ssh. You'd normally run it from your .profile... Marvin (the first response above) had an excerpt from his .profile with how to implement that...
--Greg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 07:24 AM
08-22-2005 07:24 AM
Re: ssh-agent 'how to start'
Alex.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 07:43 AM
08-22-2005 07:43 AM
Re: ssh-agent 'how to start'
The agent is not something like a daemon that runs in the background. It gets invoked as needed basis and when it completes its duty, it just exits. So, you need to make it available to your search path or assign an alias to it for quicker access if you do not want to start it with the full path name.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2005 11:28 AM
08-25-2005 11:28 AM