RE: Netcat (NC) Secure Remote Connections via authenication

From: Royans Tharakan (RTharakan@ingenuity.com)
Date: 06/30/02


Date: Sat, 29 Jun 2002 19:58:51 -0700
From: "Royans Tharakan" <RTharakan@ingenuity.com>
To: "Susan Chan Lee" <susan.lee@securityassoc.com>, <security-basics@securityfocus.com>

If you want a "command prompt" on the other end, why not
just run sshd or telnetd on your favorite port on the "other end" ?

Now, if you want nc to tunnel over SSH, that can be arranged too.
You need to connect using ssh to the other end and setup port
forwarding within SSH which can be used by nc to do whatever
you want to.

rkt

-----Original Message-----
From: Susan Chan Lee [mailto:susan.lee@securityassoc.com]
Sent: Friday, June 28, 2002 12:05 PM
To: security-basics@securityfocus.com
Subject: Netcat (NC) Secure Remote Connections via authenication

Hi All
  
Does anyone know how to set-up a secure remote connection using
netcat, in that one which uses authenication or port filtering
(without the need to install any other wrapper software).
  
I have a requirement were I need to connect to a remote machine and
get a command prompt. We all know how to do this via netcat by
setting up a listening port. My concern is that I do not want to
leave the port open for anyone to connect.
  
It would be great if when someone connects authenication is required,
hence in effect all I need is to connect to a remote machine, get
prompted for a password and then get a command prompt, if netcat
cannot do this, does anyone know any other peice of software (not
NetBIOS or SMB)?
  
Thanks
  
Susan Chan Lee
Security Associates - Singapore

----+----
This email message (and any attached document) contains information from Ingenuity Systems Inc. which may be considered confidential by Ingenuity, or which may be privileged or otherwise exempt from disclosure under law, and is for the sole use of the individual or entity to whom it is addressed. Any other dissemination, distribution or copying of this message is strictly prohibited. If you receive this message in error, please notify me and destroy the attached message (and all attached documents) immediately.



Relevant Pages

  • RE: Netcat (NC) Secure Remote Connections via authenication
    ... Netcat Secure Remote Connections via authenication ... > via netcat by setting up a listening port. ... > command prompt, if netcat cannot do this, does anyone know ...
    (Security-Basics)
  • Re: Unable to telnet pop.gmail.com
    ... You could try if pop.gmail.com will answer on port 110. ... > this statement is that the screen (command prompt window) goes blank ... > telnet command). ... I am trying to retrieve emails from ...
    (microsoft.public.windows.vista.mail)
  • Re: POP 3 mails
    ... Yes but that's on port 80. ... better means of testing would be to go to the command prompt and use ... telnet with the mail server name and a port number. ... Tony Toews, Microsoft Access MVP ...
    (microsoft.public.vb.general.discussion)
  • Re: COM Port Redirection
    ... if I open a command prompt in my Terminal Server Session an use the 'change ... port' command, ... Server Session for using a local connected Device, ... in that Terminal Server Session. ...
    (microsoft.public.windows.terminal_services)
  • Re: Clipper wont work with serial ports in xp
    ... Then I went to the command prompt and typed: ... I got the response that WinDoze liked my arcane mumbo jumbo, ... This leaves one to properly configure the COM port, ... Better contact the 3rd party lib folks, ...
    (comp.lang.clipper)