LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-26-2007, 02:28 AM   #1
clhona
LQ Newbie
 
Registered: Feb 2007
Posts: 15

Rep: Reputation: 0
ssh in simple words


Hi everybody, I've two pc in my office on a local network and I can log from one to the other via ssh with the sipmle command "ssh -X ip_other_machine".
Now, how can I log into the same machine from a pc outside this local network (for example from home)? Can someone tell me in simple words wich informations I need on the host and the remote machine and possibly the command to find out those informations?
thax
ciao
clo
 
Old 02-26-2007, 02:36 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
You should be able to do the same, but will need a public IP and the firewall open on port 22
 
Old 02-26-2007, 02:49 AM   #3
clhona
LQ Newbie
 
Registered: Feb 2007
Posts: 15

Original Poster
Rep: Reputation: 0
thanx for replay...can you tell me a test to see if port 22 is open ?I've no firewall installed
 
Old 02-26-2007, 02:53 AM   #4
nachosmith
LQ Newbie
 
Registered: Feb 2007
Posts: 3

Rep: Reputation: 0
Telnet to port 22:

Code:
telnet machinename 22

and you should see something like the following popping up at you

Code:
SSH-2.0-OpenSSH_4.3
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple shell script to open up terminal and ssh to another machine deadseasquirrel Programming 1 02-02-2006 05:25 AM
really simple ssh/key problem paul_dundee Linux - Security 11 03-28-2005 03:23 PM
Simple ssh help. Optimistic Linux - Networking 4 02-18-2005 01:20 AM
Words you've never used acid_kewpie General 26 12-23-2004 03:21 AM
Search and Replace: Asian Words to English Words ieeestd802 Linux - Software 0 10-27-2004 07:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration