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

Re: SSH2 on VMS

 
Highlighted
Respected Contributor

Re: SSH2 on VMS

You dont need admin access. It's your file and subdirectory. Login and type out the contents. Maybe the results will provide another clue why PKA is not functioning.
Highlighted
Honored Contributor

Re: SSH2 on VMS

> DAVE$ set default sys$login
> DAVE$ type [.ssh2]identification.
> idkey GMS_id_dsa_2048_b

Yeah, I guessed that from the "-v"
diagnostics. But that does not agree with
the rest of your description, like, say:

> created a file called AUTHORIZATION in my
> SSH" subdirectory with the following line
> in it
>
> idkey id_dsa_1024_a.pub

leaving me confused (more than usual).

> unfortunately i dont have admin access to
> the unix box so not sure many details about
> this.

I assume that someone does.

> You dont need admin access. It's your file
> and subdirectory. [...]

He and I seem to be talking about different
things.

When you assemble a coherent narrative, which
includes some useful information, please post
it.
Highlighted
Valued Contributor

Re: SSH2 on VMS

originally the key was the 1024 but i re-ran and sent over the 2048 key - sorry for the confusion
Highlighted
Honored Contributor

Re: SSH2 on VMS

> [...] - sorry for the confusion

Fine, but if you look back through this
thread, you should be able to find a
particular character used repeatedly: "?".
Generally, it follows a question, which was
intended to elicit an answer. These answers
seem to be pretty sparse.

It's nice if you "sent over" the right key
file, but, with my weak psychic powers, I
can't see what happened to it after that, so
I have no way of knowing which data are where
on the (still unidentified) remote system,
where potential problems include such things
as wrong file, wrong name, wrong place, wrong
format, wrong owner, wrong permissions, and a
host of others. If your session transcript
is still relevant, then my comments about
are, too. And that includes the need for
information about and/or from the remote
system.
Highlighted
Valued Contributor

Re: SSH2 on VMS

ok
Highlighted
Occasional Advisor

Re: SSH2 on VMS

On VMS

VMS $ @sys$manager:tcpip$define_commands
VMS $ ssh_keygen -b 1024 -t dsa
VMS $ scp ID_DSA_1024_A.PUB user@linux:.ssh

On linux

linux $ ssh-keygen -i -f ID_DSA_1024_A.PUB >> authorized_keys
linux $ ssh-keygen -t dsa #-- generate key on linux
linux $ ssh-keygen -x -t dsa > user-linux.pub #-- convert to IETF SECSH format
linux $ sftp scp user@vms
sftp> cd ssh2
sftp> put user-linux.pub

On VMS

VMS $ edit [login.ssh2]authorization.;
KEY user-linux.pub
VMS $ edit [login.ssh2]identification.;
IdKey ID_DSA_1024_A
VMS $ ssh_agent
VMS $ ssh_add
VMS $ ssh user@linux
Highlighted
Honored Contributor

Re: SSH2 on VMS

> Feb 18, 2010 12:23:32 GMT 0 pts

To get more satisfactory advice, you might
try providing more satisfactory information.