Question

I'm about to connect to a remote using SSH but I'm lost at doing this. I thought I get it but I'm not be been able to connect.

The client provided me the following information via email (I have no control of the remote site and I'm not the admin)

  • .pub file
  • SSH password
  • SSH username
  • Key type: DSA
  • Key Size: 1024
  • Hostname

I'm assume its port 22 (default for SSH). I remember some months ago I was able to connect with:

ssh -i /path_to_key_file username@remotehost.com

But this will work if its a private key file right? Do I have the right information to connect? What are the steps to connect successfully via a command line?

Was it helpful?

Solution

You either have public and private key or you login with username and password. Seeing that you received a public key file it's likely that you have to use key authentication to login. For that you'll need a private key of course. But since your client also sent you a login and password you could try logging in without key authentication.

In short: your client is probably not completely comfortable with configuring shhd...

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top