Linux Networking!
Santosh Jayaswal
Member Posts: 8 ■□□□□□□□□□
in Linux+
Is there any way! That I get remote host Username via Ubuntu......
Comments
-
TechGuy215 Member Posts: 404 ■■■■□□□□□□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.* Currently pursuing: PhD: Information Security and Information Assurance
* Certifications: CISSP, CEH, CHFI, CCNA:Sec, CCNA:R&S, CWNA, ITILv3, VCA-DCV, LPIC-1, A+, Network+, Security+, Linux+, Project+, and many more...
* Degrees: MSc: Cybersecurity and Information Assurance; BSc: Information Technology - Security; AAS: IT Network Systems Administration