LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do I 'log in as root' on a remote box? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-log-in-as-root-on-a-remote-box-94845/)

new player 2 09-20-2003 11:51 AM

How do I 'log in as root' on a remote box?
 
*lost*

How do I log in as "root" on a remote server?

unSpawn 09-20-2003 11:53 AM

How do I log in as "root" on a remote server?
You should NOT (have to) do that.
Install and configure "sudo" if necessary, make an unprivileged user account if necessary. Log in as the unprivileged user and use sudo to accomplish single tasks or to su to root.

new player 2 09-20-2003 11:54 AM

hehe, you don't understand....

I don't know how to connect. *hides*

new player 2 09-20-2003 12:04 PM

It's crazy. Everyone knows this apparently. Everywhere I search, there is not explanation on it. It's like walking or something. There is no "how to" for walking.

I need to log into "root" on a server so I can upgrade the control panel. heh, I'd give it a shot if I knew how to log in.

new player 2 09-20-2003 12:31 PM

:(

MiscGeek 09-20-2003 12:42 PM

Okay, I think we left him hangin long enough, eh? :)

Try this "ssh <user>@<servername>", where <user> is a valid user on the remote server and of course <servername> is the name of the server.

Mike

new player 2 09-20-2003 12:44 PM

Quote:

Originally posted by MiscGeek
Okay, I think we left him hangin long enough, eh? :)

Try this "ssh <user>@<servername>", where <user> is a valid user on the remote server and of course <servername> is the name of the server.

Mike

Good cuz I was loading the gun with my temples name on it.

thanx for the response, but I need you to newbify your information even more then that.

Where do I use "ssh <user@<servername>"?
telnet is my best guess. I honestly don't know!

MiscGeek 09-20-2003 12:53 PM

ssh is actually a secure replacement for telnet. I would hope the server you are connecting to has telnet disabled.

You run ssh from a terminal on your client box. How to get to a terminal depends on whether you are running in X (GUI) or text mode.

If you're running in a GUI, and without knowing what desktop, Gnome, KDE, etc.., try running xterm. It's installed by default. Then just type the command in at the prompt and hit <Enter>.

If you're running in text mode you should already be at a terminal. Just type the command at the prompt and hit <Enter>.

In either case you should be prompted for a password to login. After that you will be in a terminal on your remote server.

Hope this helped :)

yapp 09-20-2003 06:38 PM

If you're using Windows, you might want to look for PuTTY, and WinSCP. They allow you to establish a shell, and with "scp" and "sftp" you can transfer files over ssh.

ps. did you upgrade your ssh daemon (server) too? The older versions appear to have a security leak.

new player 2 09-20-2003 06:43 PM

I am using putty, but I don't even know what "scp" and "sftp" is. ha. :(

No, I didn't upgrade my SSH (server). LOL, I haven't done one thing sucessfully yet.


All times are GMT -5. The time now is 05:08 PM.