From 6e1a7af880e09b57ae9c44bfc46371dc962f9b02 Mon Sep 17 00:00:00 2001 From: Maxim Likhachev Date: Mon, 14 Apr 2014 17:36:31 +0600 Subject: [PATCH] =?UTF-8?q?bash:=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D1=8B=20=D0=BD=D0=B0=D1=81=D1=82=D1=80=D0=BE=D0=B9?= =?UTF-8?q?=D0=BA=D0=B8=20ssh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 5 +++++ etc/net/ssh/config | 30 ++++++++++++++++++++++++++++++ etc/rc.linux-gnu | 1 + 3 files changed, 36 insertions(+) create mode 100644 etc/net/ssh/config diff --git a/.gitignore b/.gitignore index f6e9c81..e5e54ff 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,11 @@ etc/media/mpdscribble/mpdscribble.conf etc/net/snownews +etc/net/ssh/id_rsa +etc/net/ssh/id_rsa.pub +etc/net/ssh/known_hosts +etc/net/ssh/sessions + etc/shell/cw etc/soft/antiword diff --git a/etc/net/ssh/config b/etc/net/ssh/config new file mode 100644 index 0000000..4ccbe45 --- /dev/null +++ b/etc/net/ssh/config @@ -0,0 +1,30 @@ +Host * + ControlMaster auto + ControlPath /home/%u/.ssh/sessions/%h_%p_%r + +Host kb + User root + HostName 193.169.52.214 + +Host t-o + User root + HostName 85.192.165.42 + Port 1023 + +Host atpl + User root + HostName 193.169.52.221 + +Host atpl-v-sites + User root + HostName 192.168.115.50 + ProxyCommand ssh -t -t atpl -W %h:%p + +Host office + User root + HostName 192.168.0.12 + +Host pi + User pi + HostName 192.168.0.49 + diff --git a/etc/rc.linux-gnu b/etc/rc.linux-gnu index 18a2e3a..e7e236b 100644 --- a/etc/rc.linux-gnu +++ b/etc/rc.linux-gnu @@ -22,6 +22,7 @@ # [ Net ] ++ net/ssh ~ - net/rtorrent/rtorrent.rc ~ + net/lftp/lftprc ~ + net/snownews ~