search for: hostport

Displaying 20 results from an estimated 39 matches for "hostport".

2014 Jun 23
1
-h, --help option
...r more information about command would certainly save some time. Current output from `ssh --help`: usage: ssh [-1246AaCfgkMNnqsTtVvXxY] [-b bind_address] [-c cipher_spec] [-D [bind_address:]port] [-e escape_char] [-F configfile] [-i identity_file] [-L [bind_address:]port:host:hostport] [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port] [-R [bind_address:]port:host:hostport] [-S ctl_path] [-w local_tun[:remote_tun]] [user@]hostname [command] Proposed output: C:\Program Files\Git\bin>ssh.exe --87 usage: ssh [options] [user@]hostna...
2012 Sep 15
2
ssh(1) documentation for -L and -R
...in/ssh/ssh.1 Comments welcome. ================ ssh.1.patch ================ --- ssh.1 2012/09/15 16:08:48 1.1 +++ ssh.1 2012/09/15 20:23:35 @@ -51,13 +51,13 @@ .Op Fl F Ar configfile .Op Fl I Ar pkcs11 .Op Fl i Ar identity_file -.Op Fl L Oo Ar bind_address : Oc Ns Ar port : Ns Ar host : Ns Ar hostport +.Op Fl L Oo Ar bind_address : Oc Ns Ar localport : Ns Ar remoteaddr : Ns Ar remoteport .Op Fl l Ar login_name .Op Fl m Ar mac_spec .Op Fl O Ar ctl_cmd .Op Fl o Ar option .Op Fl p Ar port -.Op Fl R Oo Ar bind_address : Oc Ns Ar port : Ns Ar host : Ns Ar hostport +.Op Fl R Oo Ar bind_address :...
2018 Oct 19
2
OpenSSH socket forwarding in ssh_config file?
...es not, even in 7.9. > >It does, look for LocalForward Pardon me, I've been unclear. I don't mean TCP forwards but UNIX domain socket forwarding. I use LocalForward extensively in my ssh configs for tunnels, but although these command line options: -L [bind_address:]port:host:hostport -L [bind_address:]port:remote_socket -L local_socket:host:hostport -L local_socket:remote_socket work just fine for UNIX domain sockets, all my efforts with UNIX socket file paths have met with failure in the ssh config file, and the ssh_config(5) manual entry doesn't mention the...
2004 Mar 04
2
-R port:host:hostport - communication lost after some minutes
Hi As this '-R' command initially works fine I guess it must be a bug. I have to login at a computer which is hidden behind NAT. The user (joe) at the computer then connect to my server with the command: ssh -R 1234:localhost:22 test.com Then I login to test.com and connect back to joes computer: ssh -p 1234 localhost I get successfull connection every time but after a few
2008 Sep 07
1
"on-the-fly" SSH Port Forwarding
...which uses on-the-fly SSH port forwarding by using the "~C" escape sequence to add local port forwards when needed (through Expect). It would appear that there is no option to remove local port forwards and only remote port forwards: ssh> -h Commands: -L[bind_address:]port:host:hostport Request local forward -R[bind_address:]port:host:hostport Request remote forward -KR[bind_address:]port Cancel remote forward I am hitting scalability issues as I am not able to cancel local forwards and after about 251 tunnels I am unable to add any more. (I am a...
2004 Sep 08
0
[PATCH]Extending user@host syntax
...0 +0200 +++ openssh-3.9p1.new/ssh.c 2004-09-08 16:12:58.000000000 +0200 @@ -157,7 +157,8 @@ "usage: ssh [-1246AaCfghkMNnqsTtVvXxY] [-b bind_address] [-c cipher_spec]\n" " [-D port] [-e escape_char] [-F configfile] [-i identity_file]\n" " [-L port:host:hostport] [-l login_name] [-m mac_spec] [-o option]\n" - -" [-p port] [-R port:host:hostport] [-S ctl] [user@]hostname [command]\n" +" [-p port] [-R port:host:hostport] [-S ctl]\n" +" [user@]hostname[%%port][,host_key_alias] [command]\n" );...
2009 Jul 09
0
[PATCH] Allow binding to a local port (OpenSSH 5.2)
...0200 @@ -179,10 +179,11 @@ usage(void) { fprintf(stderr, -"usage: ssh [-1246AaCfgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec]\n" -" [-D [bind_address:]port] [-e escape_char] [-F configfile]\n" -" [-i identity_file] [-L [bind_address:]port:host:hostport]\n" -" [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]\n" +"usage: ssh [-1246AaCfgKkMNnqsTtVvXxYy] [-b bind_address] [-B bind_port ]\n" +" [-c cipher_spec] [-D [bind_address:]port] [-e escape_char]\n" +" [-F conf...
2001 Sep 13
4
ssh argv[0] support
...p Fl l Ar login_name .Op Ar command .Pp .Ar hostname | user at hostname .Op Fl afgknqstvxACNPTX1246 .Op Fl c Ar cipher_spec .Op Fl e Ar escape_char .Op Fl i Ar identity_file .Op Fl l Ar login_name .Op Fl m Ar mac_spec .Op Fl o Ar option .Op Fl p Ar port .Oo Fl L Xo .Sm off .Ar port : .Ar host : .Ar hostport .Sm on .Xc .Oc .Oo Fl R Xo .Sm off .Ar port : .Ar host : .Ar hostport .Sm on .Xc .Oc .Op Ar command .Sh DESCRIPTION .Nm replaces the old ssh command-name as hostname handling. If you link to this script with a hostname then executing the link is equivalent to having executed ssh with that hostname...
2002 Aug 13
1
[PATCH] global port forwarding restriction
...;t allow users to add to them. + */ void -channel_add_permitted_opens(char *host, int port) +channel_fix_permitted_opens(void) { - if (num_permitted_opens >= SSH_MAX_FORWARDS_PER_DIRECTION) + if (num_permitted_opens != 0) + fix_permitted_opens = 1; +} + +int +channel_add_permitted_opens(char *hostport) +{ + char host[256], sport[6]; + u_short port; + + if (sscanf(hostport, "%255[^:]:%5[0-9]", host, sport) != 2 && + sscanf(hostport, "%255[^/]/%5[0-9]", host, sport) != 2) + return -1; + if ((port = a2port(sport)) == 0) + return -1; + + if (num_permitted_opens >...
2018 Oct 19
2
OpenSSH socket forwarding in ssh_config file?
The ssh command line's -L option has supported socket forwarding for a while, but as far as I can tell the ssh_config file does not, even in 7.9. Is this planned? Or is there some reason this isn't reasonable? Oris there some syntax I've missed? Cheers, Cameron Simpson <cs at cskk.id.au>
2004 Nov 20
1
[Bug 955] ssh -h " Displayed as illegal options " in SSH 3.9
...ssh -h" , we are get Message as "ssh: illegal option -- h" log given below # ssh -h ssh: illegal option -- h usage: ssh [-1246AaCfghkMNnqsTtVvXxY] [-b bind_address] [-c cipher_spec] [-D port] [-e escape_char] [-F configfile] [-i identity_file] [-L port:host:hostport] [-l login_name] [-m mac_spec] [-o option] [-p port] [-R port:host:hostport] [-S ctl] [user@]hostname [command] To avoid this we have include the 'h' character in getopt( ) as given below In ssh.c # 242 while ((opt = getopt(ac, av, 243 "1246ab:c:e:fg...
2000 Apr 12
0
Question on port forwarding
Hey folks... I'm still working on that automount/nfs/ssh combination. When you use "-L port:host:hostport" to forward a port on the localhost to a port on a remote host, A) What is the origin that the remote system sees for the packets? Is it "port" on localhost, or the source of the messages sent to "port"? B) How connected is this? Can you send a UDP message to "...
2006 Jan 02
1
Server allocating port number for -R ?
...from the draft: If a client passes 0 as port number to bind and has 'want reply' TRUE then the server allocates the next available unprivileged port number and replies with the following message, otherwise there is no response specific data. Naively doing things like -R0:host:hostport fail with a "Bad forwarding port(s)" message. Thanks, Wim.
2013 Nov 23
2
[Bug 2174] New: no-pty in authorized_keys does not prevent and interactive shell
...= ssh -v OpenSSH_5.5p1 Debian-6+squeeze3, OpenSSL 0.9.8o 01 Jun 2010 usage: ssh [-1246AaCfgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec] [-D [bind_address:]port] [-e escape_char] [-F configfile] [-I pkcs11] [-i identity_file] [-L [bind_address:]port:host:hostport] [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port] [-R [bind_address:]port:host:hostport] [-S ctl_path] [-W host:port] [-w local_tun[:remote_tun]] [user@]hostname [command] ps PID TTY TIME CMD 1191 ? 00:00:00 sshd 1192...
2010 Apr 09
4
Patch: support URLAUTH, BURL, CATENATE
...xt> for list of @@ -1187,6 +1188,10 @@ # Mails are first deleted in lowest -> highest priority number order #trash = /etc/dovecot-trash.conf + # (APPLE) Server name for GENURLAUTH/URLFETCH. Can be host:port or + # just a FQHN. Default is the system's real hostname. + #urlauth_hostport = + # Expire plugin. Mails are expunged from mailboxes after being there the # configurable time. The first expiration date for each mailbox is stored in # a dictionary so it can be quickly determined which mailboxes contain diff -Nur dovecot-1.2.11/src/auth/auth-request-handler.c dovecot...
2001 Sep 20
1
Patch to allow local port forwarding from an existing connection
Hi. Attached is a patch that introduces a new escape character (~c) that opens a command line. From the command line, a command of the form: -L port:host:hostport can be entered, which will forward the local port, as if the same option has been provided on the command line. I attempted to allow remote port forwards to be specified similarly, but the server disconnects with a protocol error (and the code is disabled now). This is a bit of a hack, but it wo...
2009 Mar 20
4
[Bug 1576] New: ssh-add doesn't have --help or --version options
https://bugzilla.mindrot.org/show_bug.cgi?id=1576 Summary: ssh-add doesn't have --help or --version options Product: Portable OpenSSH Version: 5.2p1 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Documentation AssignedTo: unassigned-bugs at mindrot.org
2003 Apr 17
1
R search engine and Mozilla
...t:SearchInIndex('attribute',false,true,false);") . If I click on the link, the page opens but the status bar shows "stopped" and the Mozilla JavaScript Console shows an error: Error: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIURI.hostPort]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://navigator/content/nsBrowserStatusHandler.js :: anonymous :: line 350" data: no] Source File: chrome://navigator/content/nsBrowserStatusHandler.js Line: 350 If I move the cursor over a link, it a...
2008 Jul 14
5
EOL in stderr of ssh - Linux
Hello everyone, recently I've found something I consider a bug. Correct me if I'm wrong, but I always thought that Linux' EOL is 0x0A. Imagine my surprise when I saw that all messages that are being output on to the stderr (on any Linux I've tested - Fedora and Ubuntu) are terminated with 0x0D, 0x0A. Maybe that's standard behaviour of all stderr messages in all Linux
2011 Jul 17
2
openSSH 5.8p2 BindPort patch
...- ssh [-1246AaCfgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec] + ssh [-1246AaCfgKkMNnqsTtVvXxYy] [-b bind_address] [-B bind_port ] [-c cipher_spec] [-D [bind_address:]port] [-e escape_char] [-F configfile] [-I pkcs11] [-i identity_file] [-L [bind_address:]port:host:hostport] [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port] @@ -55,6 +55,10 @@ DESCRIPTION the connection. Only useful on systems with more than one address. + -B bind_port + Use bind_port port on the local machine as the source port of...