0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

ssh {接続先} "コマンド"でパスが見つからないとき

Posted at

tldr

ssh -t user@host "bash -i -c '実行したいコマンド'"

としてください

#原理
追記予定。ただし、↓を見ればだいたいわかるはず
https://www.ykrods.net/posts/2021/06/12/bash-files/

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?