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 05-23-2006, 03:32 AM   #1
gabsik
Member
 
Registered: Dec 2005
Location: This planet
Distribution: Debian,Xubuntu
Posts: 567

Rep: Reputation: 30
telnet ssh


ssh replaced telnet.But as telnet can ssh connect to any service/port ?Or just to an sshd ?
thanks !
 
Old 05-23-2006, 03:33 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
ssh as telnet?? ssh clients connect to ssh servers, telnet clients connect to telnet servers.
 
Old 05-23-2006, 03:50 AM   #3
DavisWang
LQ Newbie
 
Registered: May 2006
Location: Beijing,China
Distribution: Debian
Posts: 2

Rep: Reputation: 0
ssh can only connect to sshd server.
And ssh can connect to any port by 'ssh -p port' .Server must be on the same port too.
 
Old 05-23-2006, 06:57 AM   #4
dimis
LQ Newbie
 
Registered: May 2006
Posts: 20

Rep: Reputation: 0
I think he actually means if he can "connect" with the ssh client to any port on some other service... like you can with telnet if you type for example telnet host 80, you "connect" to the httpd.

The answer is no, ssh client waits for the server's fingerprint when you connect, so even if you do ssh host -p 80 (for example) you'll not be able to see anything.


beast:/var/www# telnet localhost 80
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
^]
telnet> quit
Connection closed.
beast:/var/www# ssh localhost -p 80

beast:/var/www#
 
Old 05-23-2006, 08:12 PM   #5
gabsik
Member
 
Registered: Dec 2005
Location: This planet
Distribution: Debian,Xubuntu
Posts: 567

Original Poster
Rep: Reputation: 30
Nice one !
 
  


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
telnet/ssh ConfusedMonkey Linux - Software 1 02-20-2006 03:47 PM
telnet through ssh sanjay2004 Linux - Networking 1 07-16-2005 09:30 AM
X over SSH then telnet JSkalka Linux - Security 5 11-21-2003 04:19 PM
SSH/Telnet kbeaver Linux - Networking 8 07-22-2003 10:31 AM
Telnet and SSH Rampage2884 Linux - Networking 3 04-30-2002 02:31 PM

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

All times are GMT -5. The time now is 07:25 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