Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Hey Guys. Just like in the title - do you know how can I connect to remote server using the .ssh file? This file was given to me by a third party company in order to connect to their server via terminal but I forgot the command for it. I know that I was doing it in the past. This file is basically a convert of .ppk file.

share|improve this question
up vote 4 down vote accepted

.ssh isn't a file, it's a folder.
You can connect to a server using a key like this:

ssh -i ~/.ssh/MyPrivateKey.pem user@server

Make sure the key has the right permissions (chmod 400).

If you want to see the content of the .ssh-folder, open up Finder, press Shift+Command+G and enter ~/.ssh/

share|improve this answer
thanks man - you rock! – Pavel Apr 4 '11 at 11:27

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.