PPK Based Authentication over SSH


Recommended Posts

Hey Guys,

My boss just asked me to setup a SFTP Server in a VM with a Public IP. EASY.

Now he's asked me to have it so that clients need a PPK file + a password to connect. Can somebody walk me through generating this file Ubuntu side and disabling login without it?

Thanks

Chris

Yeah, I've googled for it, but NADA

Link to comment
https://www.neowin.net/forum/topic/934136-ppk-based-authentication-over-ssh/
Share on other sites

  • 3 weeks later...

Public key auth is pretty straight forward, not sure why your having an issue gogling for instructions? Guessing wrong terms? What terms are you using to google? What you want is public key auth.

http://sial.org/howto/openssh/publickey-auth/

https://help.ubuntu.com/community/SSH/OpenSSH/Keys

etc..

I don't use anything but this to auth to SSH or SFTP. Even shell access to my local media player popcorn hour a110, I use public key auth ;)

post-14624-12849984624349.jpg

? for you - are you going to want different keys for each user? Or they all going to use the same one?

As to disable password, once you have public key working - in your ssh config file most likely /etc/ssh/sshd_config

PasswordAuthentication no

Edited by BudMan
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.