Secure Shell
simulate connection with netcat Jan 15 2011 08:19PM
guy mobi1e me (1 replies)
Re: simulate connection with netcat Jan 17 2011 05:43PM
Salvador Fandino (sfandino yahoo com) (2 replies)


----- Original Message ----
> From: "guy (at) mobi1e (dot) me [email concealed]" <guy (at) mobi1e (dot) me [email concealed]>
> To: secureshell (at) securityfocus (dot) com [email concealed]
> Sent: Sat, January 15, 2011 9:19:15 PM
> Subject: simulate connection with netcat
>
> Hello,
>
> my long-term intention is to write a cross-platform GUI-authpf-client
> without using libssh or libssh2. Before I get into that I'd like to simulate
> the ssh-connection/authentication via netcat.
> I took a look at the RFCs but don't get it working.
>
> % nc 127.0.0.1 22
> SSH-2.0-OpenSSH_5.2
> SSH-2.0-OpenSSH_5.2 <-- entered by me
> ... a lot of text ...
>
> What do I enter now to authenticate?
> My attempts resulted in "Packet corrupt".

SSH uses a binary protocol. Getting authenticated is far more complex than
writting something at your keyboard by hand.

You can find pointers to the related RFCs here:
http://en.wikipedia.org/wiki/Secure_Shell

- Salva

[ reply ]
Re: simulate connection with netcat Jan 17 2011 07:39PM
Felipe Martins (martins felipe security gmail com) (1 replies)
Re: simulate connection with netcat Jan 19 2011 05:49PM
guy mobi1e me (1 replies)
Re: simulate connection with netcat Jan 22 2011 05:18PM
Felipe Martins (martins felipe security gmail com) (1 replies)
Re: simulate connection with netcat Jan 24 2011 05:54PM
guy mobi1e me
Re: simulate connection with netcat Jan 17 2011 06:08PM
niklas|brueckenschlaeger (niklas brueckenschlaeger de)


 

Privacy Statement
Copyright 2010, SecurityFocus