ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] ssh::ProxyCommand
@ 2001-07-05 13:17 Sergey Bolshakov
  0 siblings, 0 replies; only message in thread
From: Sergey Bolshakov @ 2001-07-05 13:17 UTC (permalink / raw)
  To: sisyphus

Не могли бы уважаемые гуру об'яснить сакральный смысл
данной опции в ssh ? Нутром чую, была бы полезна для
туннелирования, но нахрапом не далась :), в мане как-то
туманно изложено. Пытался:
.ssh/config
# Proxy host
Host proxy
  Hostname some.com
  User me_on_proxy
# Target host
Host target
  HostName localhost
  Port 55022
  User me_on_target
  ProxyCommand ssh -f -L 55022:target:22 proxy sleep 20

При попытке ssh target имеем следующее:
запускается ssh -f -L .... , вижу listening сокет на 55022,
но второй ssh не пускается, затем первый помирает, второй,
проснувшись, идет на localhost:55022, и не обнаружив там ничего,
помирает тож. Попытка прилепить & в конец ProxyCommand
также провалилась. Как правильно ?
 
-- 
	Трули ерз, Сергей.

"[Open Source] programming is like sex, one mistake and you have to support it
for the rest of your life."  ---  M. Sinz, CBM Inc.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-07-05 13:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-05 13:17 [sisyphus] ssh::ProxyCommand Sergey Bolshakov

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git