[Info-vax] SSH / SFTP troubles
VAXman- at SendSpamHere.ORG
VAXman- at SendSpamHere.ORG
Thu Aug 2 16:33:16 EDT 2012
In article <39993508-9a29-4bd9-a581-f7411f5dcb03 at googlegroups.com>, Jose Baars <peutbaars at gmail.com> writes:
>
>A few more things to check:
>
>1. With a lot of versions of TCPIP SSH the key files must be in stream_lf
> format, to be checked by dir/full, check the following lines in the output:
>....
>Record format: Stream_LF, maximum 0 bytes, longest 32767 bytes
>Record attributes: Carriage return carriage control
>....
>
>If that is not the case, convert them to stream_lf format by
>convert/fdl="file;org seq;record;format stream_lf;" <wrongformatfile> <stmlffile>.
My keys, on VMS, are:
Record format: Variable length, maximum 255 bytes, longest 70 bytes
Record attributes: Carriage return carriage control
No access issues.
>
>Check the output files again with dir/full, to be sure.
>
>
>2. the keys private and public have to have the following format:
>
>
>---- BEGIN SSH2 ENCRYPTED PRIVATE KEY ----
>Subject: josebaars
>Comment: "2048-bit dsa, josebaars at uv, Thu Au\
>g 02 2012 17:20:03"
>P2/56wAAA4IAAAAmZGwtbW9kcHtzaWdue2RzYS1uaXN0LXNoYTF9LGRoe3BsYWlufX0AAA
>....
>SvvgdR0kUYety1xuWVG5r/XnZfEWXTDUDbYerAr9FC2asAAAAJ9PaGqz4fB2PLuT4spenU
>4dhbf+nA==
>---- END SSH2 ENCRYPTED PRIVATE KEY ----
>
>
>---- BEGIN SSH2 PUBLIC KEY ----
>Subject: josebaars
>Comment: "2048-bit dsa, josebaars at uv, Thu Au\
>g 02 2012 17:20:03"
>AAAAB3NzaC1kc3MAAAEBANuAFuqYQJc0VrEYxG++FSzQdHfMfvMEpz/fNFNQsSYxeFa2gB
>RyjLrCLcJ2BuKJe5LfiFCfmxZIvkLcNwyDNxkO2wmziOT/WLcSkJxFDamrF5BTkS7+NGbZ
>....
>1Jdh/A3I26AQ7ucGZ1sZP/6j+cL+FMN7j/ziexZRmMLjvYzCPZdyhSSi2MWpkpZG7ZBK++
>B1HSRRh63LXG5ZUbmv9edl8RZdMNQNth6sCv0ULZqw
>---- END SSH2 PUBLIC KEY ----
>
>If not, convert them using a ssh-keygen tool on Linux or PuttyGen.
>I didn't check, but last time I looked that wasn't possible with TCPIP
>ssh_keygen.
#ssh-keygen -e -f unixy_key.pub > vms_key.pub
--
VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)ORG
Well I speak to machines with the voice of humanity.
More information about the Info-vax
mailing list