株式会社ヴァンデミックシステム

Blog

<スポンサーリンク>

なんかこっちのほうがいいっぽい

# 接続先の公開鍵を登録
ssh-copyid host4

# サービス化 パスワードを聞かれる
cygrunsrv -I AutoSSH -p /usr/bin/autossh -y tcpip -a "-M 55555 -N host4" -e AUTOSSH_NTSERVICE=yes -u yuta

# サービス起動
cygrunsrv -S AutoSSH

<スポンサーリンク>

コメントを残す

Allowed tags:  you may use these HTML tags and attributes: <a href="">, <strong>, <em>, <h1>, <h2>, <h3>
Please note:  all comments go through moderation.

*

日本語が含まれない投稿は無視されますのでご注意ください。(スパム対策)