Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

Passwordless SSH/SFTP OpenVMS to Openvms

 
ahdroo
Occasional Visitor

Passwordless SSH/SFTP OpenVMS to Openvms

Hi guys

Need help, I've tried configuring passwordless SFTP/SSH from Openvms to Openvms and it seems to be working for the first time, but after i logout from the client and relogin, its not working again

Example
=======
test:test> ssh_agent
%DCL-S-SPAWNED, process SMSC_29632 spawned
test:test> ssh_add
Adding identity: /sys$sysdevice/test/ssh2/ID_RSA_2048_A.pub
Adding identity: /sys$sysdevice/test/ssh2/ID_RSA_2048_B.pub
Adding identity: /sys$sysdevice/test/ssh2/ID_RSA_2048_C.pub
Adding identity: /sys$sysdevice/test/ssh2/ID_RSA_2048_D.pub
Adding identity: /sys$sysdevice/test/ssh2/ID_RSA_2048_E.pub
Adding identity: /sys$sysdevice/test/ssh2/ID_RSA_2048_F.pub
Adding identity: /sys$sysdevice/test/ssh2/ID_RSA_2048_G.pub
test:test>


###########
test:test> ssh test2
Authentication successful.

test:test2>


After i logout from test system and relogin, and try to ssh to test2, it will ask me for password again

Help are highly appreciated

Thank you
Andrew
4 REPLIES 4
Steven Schweda
Honored Contributor

Re: Passwordless SSH/SFTP OpenVMS to Openvms

Basic info? "TCPIP SHOW VERSION"?

> Adding identity: [...]
> [...]

How many key file sets do you need? Why?

Do they all have non-null passphrases? Why?

What's in your "[.ssh2]identification" file?

> [...] and try to ssh to test2, [...]

As usual, it might be more helpful to see the
actual commands and their output, rather than
only a vague description.

Have you tried adding "-v" to your "ssh"
command?
Steven Schweda
Honored Contributor

Re: Passwordless SSH/SFTP OpenVMS to Openvms

ahdroo
Occasional Visitor

Re: Passwordless SSH/SFTP OpenVMS to Openvms

Thank you for the link, I've managed to setup it up correctly

Steven Schweda
Honored Contributor

Re: Passwordless SSH/SFTP OpenVMS to Openvms

I'm glad that you got it to work, but that
explanation conveys about as much useful
information as the original question. That
is, practically none.