Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
xubuntu を実行するサーバーに接続し、そこで ssh-agent を起動します。次に、リモート サーバーで ssh-add を実行し、パスワードを複数回入力する必要がある rysnc コマンドを実行します。
私のソリューションでは、一度入力するだけで済みます。しかし、どうすれば ssh-agent を永続的に起動できますか? 複数の ssh セッションで再利用したい。
これまでの私の解決策:
ssh myhost 'eval $(ssh-agent); ssh-add;'