LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to find the remote machine name I already login? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-find-the-remote-machine-name-i-already-login-747512/)

windhair 08-14-2009 06:42 AM

How to find the remote machine name I already login?
 
I want to access the remote machine I already login, but I forget the machines name, how can I find the machine name then? ThX

jschiwal 08-14-2009 07:00 AM

Enter "hostname" in the console.

repo 08-14-2009 07:01 AM

How did you connect?
ssh, vnc....
look in bash_history perhaps?

windhair 08-14-2009 07:06 AM

we have a ssh server, I use ssh to link to this server first, and I also need to connect to the machine in my own office, which means I need to find the machine name inside institute. Is this possible?


All times are GMT -5. The time now is 10:32 AM.