Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

up vote 2 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

 
discard

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.