We have been given a Username and Password for a remote SFTP Server (hosted by someone else).
My SFTP Client program (that i use) asks for Keys to proceed.
What key should i ask the SFTP provider to give us – public or private?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You do not require keys in order to access a remote host using
sftp. Either key-based or password-based access will work just fine, barring explicit configuration on the remote server to require one or the other.In order to use ssh keys, you will need to first generate an ssh keypair and then place the public key in the appropriate place on the remote server. Exactly how to do this depends on what client you’re using and what sort of access you have to the remote host.
In general: you would generate keys and provide the public key to the provider. It’s possible that they may do it the other way (generate they keys and give you the private key), but this is less typical.