Home
Certification Preparation
CompTIA
Linux+
Linux Networking!
Santosh Jayaswal
Is there any way! That I get remote host Username via Ubuntu......
Find more posts tagged with
Comments
W Stewart
Can you clarify what you're talking about?
TechGuy215
If your inquiring how to remote to a linux box from another linux box then:
First, install the ssh server: sudo apt-get install openssh-server
Next, edit the file /etc/ssh/ssh_config making sure they contain the following lines:
ForwardAgent yes
ForwardX11 yes
ForwardX11Trusted yes
Now open /etc/ssh/sshd_config and make sure the following line is in that config file:
X11Forwarding yes
On the client machine (machine your using to remote into the linux host) launch terminal and type:
ssh -X [email]user_name@the_server_IP_or_hostname.domain[/email]ame
Accept the RAS key and enter your password.
You should now be able to see your desktop.
Best reason to use ssh -x is because the graphic rendering job is done at your client so the data to transfer through the network is not huge.
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Best Of