Re: [DLC]Netcat and SSH
Sean Neilan <[email protected]> Wed, 5 Jan 2011 00:42:54 -0600
| Newsgroups | gmane.org.user-groups.linux.depaul-lug |
|---|---|
| Message-ID | <[email protected]> |
Yeah, absolutely. You can do the same thing with telnet. I once tried sending an email by sending raw SMTP commands through telnet. I would've been l33t had I gotten past the HELO command.. :( On Tue, Jan 4, 2011 at 9:02 PM, anthony kasza <[email protected]>wrote: > Sorry. My thoughts weren't articulated very concretely in my previous > email... > > I was reading around saw that if you could connect to a web server and > request a page with netcat. For example, the following command would > receive a reply with the http header and html page of depaul's > website. > > echo -e "GET / HTTP/1.1\nHost:depaul.edu\n\n" | nc depaul.edu 80 > > I was wondering if you could use netcat as a general purpose client > application as long as you piped the correct header/protocol/packet > information to it. For example could I pipe netcat some data to place > in a datagram, contact a server on udp 53, and receive a dns answer? > > I don't know how the keys would be handled. > > -Anthony > > On Tue, Jan 4, 2011 at 5:22 PM, Matthew P Kemp <[email protected]> > wrote: > > I guess I don't understand the question. You can tunnel through ssh. > > But SSH relies on keys to communicate. If you are using netcat, how > > would you handle the key exchange as well as the encryption. > > > > -- > > Matthew P Kemp > > > > > > > > On Tue, Jan 4, 2011 at 4:46 PM, anthony kasza <[email protected]> > wrote: > >> Hi all, > >> > >> I was playing around today and was wondering if it is possible to use > >> netcat to ssh to a box. If so, is it possible to use nc to ssh to > >> localhost? Thanks for the thoughts. > >> > >> -Anthony > >> _______________________________________________ > >> DLC mailing list > >> [email protected] > >> http://mailman.depaul.edu/mailman/listinfo/dlc > >> Use the Above Link to Unsubcribe!! > >> http://linux.depaul.edu/ > >> > > _______________________________________________ > > DLC mailing list > > [email protected] > > http://mailman.depaul.edu/mailman/listinfo/dlc > > Use the Above Link to Unsubcribe!! > > http://linux.depaul.edu/ > > > _______________________________________________ > DLC mailing list > [email protected] > http://mailman.depaul.edu/mailman/listinfo/dlc > Use the Above Link to Unsubcribe!! > http://linux.depaul.edu/ > _______________________________________________ DLC mailing list [email protected] http://mailman.depaul.edu/mailman/listinfo/dlc Use the Above Link to Unsubcribe!! http://linux.depaul.edu/