Notepad++ NppFTP 认证,没有错误,没有文件,没有文件夹
Notepad++ NppFTP authenticated, no error, no files, no folders
NppFTP 在没有错误消息的情况下连接时挂起。
启动 Notepad++ 时,NppFTP - Disconnected
在 NppFTP window.
中(正确)显示
选择 (Dis)connect
按钮,配置文件开始正常连接。
在 NppFTP - 输出 window 中显示以下内容:
[NppFTP] Everything initialized
Connecting
[SFTP] Host key accepted
[SFTP] Banner: ~~~~
[SFTP] Successfully authenticated
一切到此为止。通常,连接后的其余 NppFTP 按钮 "light up" 可以浏览文件和文件夹。只有 settings
和 show messages
按钮有效。 NppFTP window 表示 NppFTP - Connecting
。
此时 Notepad++ 继续工作,但 NppFTP 卡住了。必须重新启动 Notepad++ 以使 NppFTP 回到 Disconnected
状态以启用 (Dis)connect button
.
我正在使用带密码的私钥文件身份验证。它以前有效,但现在无效。想法?
记事本++ v6.1.5
NppFTP v0.2.4
您将一些输出放入 .bashrc
。它使您的 ssh
会话正常工作TM,但它使 SFTP 会话失败。
如果你想在登录后有一些输出,你应该将它限制在像这样的交互式会话中(如 ServerFault 上所提出的问题):
if [[ $- == *i* ]]; then
echo "your stuff"
fi
来自man bash
:
An interactive shell is one started without non-option arguments and without the -c
option whose standard input and error are both connected to terminals (as determined by isatty(3)
), or one started with the -i
option.
PS1 is set and $-
includes i
if bash is interactive, allowing a shell script or a startup file to test this state.
NppFTP 在没有错误消息的情况下连接时挂起。
启动 Notepad++ 时,NppFTP - Disconnected
在 NppFTP window.
选择 (Dis)connect
按钮,配置文件开始正常连接。
在 NppFTP - 输出 window 中显示以下内容:
[NppFTP] Everything initialized
Connecting
[SFTP] Host key accepted
[SFTP] Banner: ~~~~
[SFTP] Successfully authenticated
一切到此为止。通常,连接后的其余 NppFTP 按钮 "light up" 可以浏览文件和文件夹。只有 settings
和 show messages
按钮有效。 NppFTP window 表示 NppFTP - Connecting
。
此时 Notepad++ 继续工作,但 NppFTP 卡住了。必须重新启动 Notepad++ 以使 NppFTP 回到 Disconnected
状态以启用 (Dis)connect button
.
我正在使用带密码的私钥文件身份验证。它以前有效,但现在无效。想法?
记事本++ v6.1.5
NppFTP v0.2.4
您将一些输出放入 .bashrc
。它使您的 ssh
会话正常工作TM,但它使 SFTP 会话失败。
如果你想在登录后有一些输出,你应该将它限制在像这样的交互式会话中(如 ServerFault 上所提出的问题):
if [[ $- == *i* ]]; then
echo "your stuff"
fi
来自man bash
:
An interactive shell is one started without non-option arguments and without the
-c
option whose standard input and error are both connected to terminals (as determined byisatty(3)
), or one started with the-i
option. PS1 is set and$-
includesi
if bash is interactive, allowing a shell script or a startup file to test this state.