LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-05-2012, 12:05 AM   #1
fawcaz
LQ Newbie
 
Registered: Dec 2009
Posts: 12

Rep: Reputation: 0
nc -q 1 b 22?


I read of this
ProxyCommand ssh b nc -q 1 b 22
within an ssh config file

I am curious what "b 22" does?

I know that -q 1 is about exiting "-q seconds after EOF is detected, wait the specified number of seconds and then quit." and one can probably do without it.

Also, out of interest, where is a man page online that has -q? I see
http://linux.die.net/man/1/nc
doesn't have it
 
Old 05-05-2012, 01:03 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
as per the manpage, b would be the destination, and 22 would be the port number.
 
1 members found this post helpful.
Old 05-05-2012, 01:04 AM   #3
fawcaz
LQ Newbie
 
Registered: Dec 2009
Posts: 12

Original Poster
Rep: Reputation: 0
is that manpage online, do you have a link?
 
Old 05-05-2012, 01:16 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Google .. man nc ..

nc(1) http://www.manpagez.com/man/1/nc/

http://pwet.fr/man/linux/commandes/nc
 
1 members found this post helpful.
  


Reply



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



LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:17 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