Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to know how I can access the following as root: Places>Connect to server

This is to connect to a server that needs a public key that I only have as root

Thanks

share|improve this question
1  
executing sudo nautilus lets me browse local files as root. not sure if it works in the case you're referring to –  hbdgaf May 7 '11 at 13:34

1 Answer 1

If I understand you correctly, go to Places -> Connect to Server -> Select:

  • Service type: select SSH
  • Server: Type in your servers ip address here, such as 123.456.789.123
  • Port: Leave blank
  • Folder: Leave blank
  • User Name: root

Press connect

Now you should get prompted for a password for your RSA/DSA keys. Key in your password and voila! It connects!

share|improve this answer
    
Have you tried it? As far as I know, on Debian Ubuntu you cannot connect via ssh as root. –  Emanuele Natale Dec 4 '12 at 17:47
1  
Yes I use it every day. –  BHM Dec 4 '12 at 21:23
    
@natema: you might have set PermitRootLogin to no in your server sshd config file. Check this out –  user01 Feb 28 at 8:21
    
connecting as root seems a little risky, and not really a good practice. Is there no way to get a password prompt when you want to open as particular file as root? –  chrismarx Mar 13 at 14:49

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.