LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-05-2013, 05:19 PM   #1
RileyTheWiley
Member
 
Registered: Dec 2007
Posts: 59

Rep: Reputation: 15
Question Putty RAW mode connection


I am trying to use Putty to make simple point to point connection between two machines that I control. The idea is to debug and verify some basic networking stuff so I can do some fancier things later.

I wish to open a putty terminal on each machine and be able to type on one console and see my input on the other terminal. That's it. Should be easy. And I want it to happen over TCPIP. These machine are connected through a hub (not a gateway) and can ping one another , although they don't know each other's name.

I have gone into the firewall and opened port 1950 on both boxes.

On each box, I configured a putty connection as follows:
- RAW mode
- IP addy of other machine
- Port 1950

I fire up the connection at either end, type madly .. nothing. Eventually the connection times out and I drop.

I have accidentally connected to an active port (80) and seen junk on the screen, so I know that much is working.

I also have experience with Putty as an ssh client so I know basic putty moves.

Do I need two port numbers? What is going on?

RDeW
 
Old 04-06-2013, 10:58 AM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
As I understand it, Putty is a TCP client application, and it expects to communicate with a server. Having two client applications to establish a TCP connection will never work. You connected to a server on port 80; almost certainly a web server. In order to communicate, you will need one host to run a server that listens for connections from a calling client.
--- rod.
 
Old 04-06-2013, 01:27 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,813

Rep: Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334
In addition the netcat tool would be a better choice. It is available for both linux and windows.
 
  


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
how to set ssh/putty session running in disconnected mode aamerjavaid Linux - Newbie 7 07-08-2011 08:53 AM
[SOLVED] Slackware 12.1 problem: raw mode telnet client ( xterm ) Vhann Linux - Newbie 5 08-21-2010 01:38 AM
Raw mode keyboard input vivekagrawal82 Linux - Software 1 07-02-2005 10:11 PM
Client for 'raw telnet mode' like PuTTY wies Linux - Networking 1 03-30-2005 10:20 AM
putty SSH connection deWin Linux - Newbie 3 03-26-2004 09:47 AM

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