sudoで「ttyがー」って怒られる時は ssh -t -t と2個オプションつければいいよ

oinumeoinume のブックマーク 2016/08/23 14:52

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

Pseudo-terminal will not be allocated because stdin is not a terminal

    I am trying to write a shell script that creates some directories on a remote server and then uses scp to copy files from my local machine onto the remote. Here's what I have so far: ssh -t user@se...

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう