Re: Xserver or Xwindow for Administering a Linux Server from a remote PC



In comp.os.linux.networking jatrojoomla <jatrojoomla@xxxxxxxxx>:
Michael Heiming wrote:
In comp.os.linux.networking jatrojoomla <jatrojoomla@xxxxxxxxx>:
Hi Forum,

I need to install xServer or xWindow to admin remote linux Server.
is it possiable? if yes then please any body tell me how??
If no then, what is the possiable way to do that

Presuming from your headers you are running Linux, you don't need
to install anything.

'ssh -CX remotehost' should give you a login with X11 forwarding
enabled through ssh. Any GUI app you start will open seamless on
your remote desktop securely transported through your ssh
connection, Apps that support docking will do the same if started
remote or not.
[..]

I am using ssh to install software on remote linux server.
for root I am using>> ssh -CX remotehost
but I need also to login with other user for that what is the syntax
should I use on SSH?

Do your self a big favor, never ever login to your wm as root,
there is zero need to do so. You are running with risks that can
be easily avoided.

If you are using ssh-agent it certainly makes your life easier if
you just run as the same user as you use on other systems. Be
sure that at least your users UID is the same on all systems, the
username is meaningless, the UID is what matters. You can use
'man usermod' to change it if there are differences.

Hopefully there isn't a complete mess regarding UID/GID already.

$ ssh --help
usage: ssh [-1246AaCfgkMNnqsTtVvXxY] [-b bind_address] [-c
cipher_spec] [-D [bind_address:]port] [-e escape_char] [-F
configfile] [-i identity_file] [-L
[bind_address:]port:host:hostport] [-l login_name] [-m mac_spec]
[-O ctl_cmd] [-o option] [-p port] [-R
[bind_address:]port:host:hostport] [-S ctl_path] [-w
tunnel:tunnel] [user@]hostname [command]

There are two possibilities to login with another user as you can
see from the above:

[-l login_name] hostname or [user@]hostname

Full info can be found in the fine manual 'man ssh'.

Good luck

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo zvpunry@xxxxxxxxxx | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 138: BNC (brain not connected)
.



Relevant Pages

  • Re: Authentication with SSH using public keys
    ... I use ssh to login remotely. ... there looks odd, or different, from other remote hosts I do this on. ... The permissions on the machine where it doesn't work: ...
    (freebsd-questions)
  • Re: Authentication with SSH using public keys
    ... I use ssh to login remotely. ... Normally, I just copy, via scp, the file id_rsa.pub to my ~/.ssh/authorized_keys file on the remote host and the next time I attempt a login all is well. ... Now, I've looked through his /etc/ssh/sshd_config file and nothing in there looks odd, or different, from other remote hosts I do this on. ...
    (freebsd-questions)
  • Re: Remote login, graphically?
    ... I have installed Ubuntu on my mother's machine. ... I have tunneled X through SSH with: ... Also, I'd like to start "from scratch" and login to her machine via GDM, ... In Gnome there is an option, Remote access (or ...
    (Ubuntu)
  • [NEWS] SSH service at Dell DRAC4 Denial of Service (Mocana)
    ... SSH service at Dell DRAC4 Denial of Service ... Dell Remote Access Card 4 allows customers to effectively manage ... After the use of such a port scanner, ...
    (Securiteam)
  • [Full-disclosure] [FIXED] Remote Denial of Service for SSH service at Dell DRAC4 (maybe Mocana S
    ... Remote Denial of Service for SSH service at Dell DRAC4 ... Dell Remote Access Card 4 allows customers to effectively manage ... the use of such a port scanner, the SSH port is unavailable and can only be ...
    (Full-Disclosure)