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)
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)
Why don't you want to use libssh? Maintaining a custom implementation of
SSh adds lots of complexity to your plain GUI task.

-- niklas

On Mon, 2011-01-17 at 09:43 -0800, Salvador Fandino wrote:
>
>
>
> ----- 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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAABAgAGBQJNNIWEAAoJEIQdQGZOjo82cpMP/iWCdJS1JpaK6QZQtYJx4X4r
VqFoOVqWe2Acp12eUVz3ZII6UPyuCCe8ZkA7qoq9F+uqPlslDkbKETOIvEMT0Gja
ufXunLiyOU0SJFEG3aoGLWt9eJEaf+FQQ3Ux/tdabzsunJGz4tWUA8eMuNzCbQ1Q
O6bkheaYbzAL0ROhjIId2bT8RcxjcQrCUSKDwKceV/pGcmBdE7RrWq/TKkRTfNEa
+QTjuXQs54SBhjMnez/Vhlq1VbhZg5Lv25+5RscBa3eCcjO+C6/y3cK21r5qqBKQ
4wxCJapZ68hQfbGxGARDuAlPg6YappcuqTkgI+aTgpX+NaQ+z76lk4CXSDbGRorg
nNApXsdHpDj58NLhVpyPm22e5I/hQEOLHruK/qIn3+8Z//ZuzsYXtnZNX6XS+Mw3
nP8aOpiw8mTKevpOqj+V8SHXSiyKAZtIe0MsKhsbfj6HfpP5GseCRX9I71XV2ca0
H+t2+1JvZSDPcxU8W0EKOJwtoglyJMLTL9j+JfRHjuraiIIexeVO36lMJbhBk/xz
aUFIXhSWGrAIYb8tt3QqiAX2oKr/d9J2+jXdGMMx4yizLsnebYdS69TrArpjCqMT
443urX5aqk79gJ4oxho/Qdsu1tXjHbIAWCszuVYkwS/p2rPV5gM9xJ/uMu26T0ay
7OalCrLPe+HXzw6gccv1
=iRgw
-----END PGP SIGNATURE-----

[ reply ]


 

Privacy Statement
Copyright 2010, SecurityFocus