[Linux] SSH 報Warning "Pseudo-terminal will not be allocated ....."
Linux SSH 報Warning "Pseudo-terminal will not be allocated because stdin is not a terminal."
SSH已經配置好了
MEMTOTAL=`echo "cat /proc/meminfo | grep -i memtotal" | ssh mon@$LINE`
執行上面這個命令的時候報如下warning:
Pseudo-terminal will not be allocated because stdin is not a terminal.
加入引數-Tq之後不報warning了
MEMTOTAL=`echo "cat /proc/meminfo | grep -i memtotal" | ssh -Tq mon@$LINE`
SSH已經配置好了
MEMTOTAL=`echo "cat /proc/meminfo | grep -i memtotal" | ssh mon@$LINE`
執行上面這個命令的時候報如下warning:
Pseudo-terminal will not be allocated because stdin is not a terminal.
加入引數-Tq之後不報warning了
MEMTOTAL=`echo "cat /proc/meminfo | grep -i memtotal" | ssh -Tq mon@$LINE`
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24237320/viewspace-1995440/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Linux - SSH: WARNING REMOTE HOST IDENTIFICATION HAS CHANGEDLinuxREMIDE
- linux之 ssh連線伺服器,WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!Linux伺服器REMIDE
- SSH登入:WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!REMIDE
- SSH登入警告(WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!)REMIDE
- Git (gnome-ssh-askpass:3871): Gtk-WARNING **: cannot open display:Git
- ssh無法連線 WARNING REMOTE HOST IDENTIFICATION HAS CHANGED!REMIDE
- SSH登陸錯誤 WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!REMIDE
- ssh連線Linux收到The remote system refused the connection報錯LinuxREM
- ssh登陸伺服器locale告警(-bash: warning: setlocale:)的處理方法伺服器
- Linux SSH & SCP命令Linux
- Linux開啟SSHLinux
- java linux ssh jarJavaLinuxJAR
- SSH linux下配置。Linux
- linux安裝sshLinux
- redhat linux核心資訊 warning:many lost ticksRedhatLinux
- 備份時報no channel allocated for maintenance(of an appropriate type)AINaNAPP
- linux ssh免登陸Linux
- Linux ssh登入命令Linux
- Linux 使用ssh-agentLinux
- 物料帳中Not included/not allocated and not distributed,來源分析
- Linux防止SSH暴力破解Linux
- Linux 遠端 ssh 登入Linux
- Linux伺服器---ssh配置Linux伺服器
- Linux SSH遠端訪問Linux
- Linux基礎:ssh與scpLinux
- Linux命令ssh-copy-idLinux
- Linux SSH免密登陸Linux
- Linux配置SSH免登入Linux
- Linux修改SSH登入埠Linux
- Linux SSH 無法登陸Linux
- linux使用SSH登入慢Linux
- configure ssh service in linux :Linux
- mysql WarningMySql
- Linux 安裝Mosh代替SSHLinux
- Linux伺服器---ssh登入Linux伺服器
- linux環境下ssh 互信配置Linux
- Linux系統修改ssh埠教程。Linux
- Linux SSH無密碼登入Linux密碼