In comp.os.linux.networking jatrojoomla <(E-Mail Removed)>:
> Michael Heiming wrote:
>> In comp.os.linux.networking jatrojoomla <(E-Mail Removed)>:
>> > 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
(E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 138: BNC (brain not connected)