good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
getting sftp to work with 2 different platforms and keypairsby Aldebaran (Curate) |
on Sep 06, 2019 at 18:41 UTC ( [id://11105737]=perlquestion: print w/replies, xml ) | Need Help?? |
Aldebaran has asked for the wisdom of the Perl Monks concerning the following question: Hello monks, I know I have another thread going where I am OP, but I have an unrelated matter I wanted to address. I'm trying to port my perl html template to windows, and the spot that is sticking is establishing sftp. I'm using PuTTy and PuTTyGen to create the key pairs. Here's the rub. I still want perl to be able to sftp to this server with my old linux machine. I want perl to be able to do it from windows as well. So we're to look at a file in the .ssh directory called authorized_keys . When I got the public key from putty, I appended it to this file, providing one line of whitespace. (It occurs to me that my C impulse to leave whitespace isn't a sound one in the unix environment.) Now, my old machine can log in, but on PuTTy, when I go SSH--->Auth-->Browse to the private key, I do not succeed. Specifically: Server refused our keyI thought that installing IO::Pty might do something for me, but this doesn't achieve anything:
Grateful for any tips and tricks,
Back to
Seekers of Perl Wisdom
|
|