I am using Emacs 24 in Ubuntu. Could you please help me on how to open remote server files?

The remote server runs CentOS. I am logging into the remote server over SSH using a private key.

I tried with following commands in Emacs 24,

Ctrl-x Ctrl -f ~/ssh username@server-IP:/home/prasad/test.sh


You can open a file using ssh in Emacs by specifying /ssh:: CtrlX CtrlF then


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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