Articles of ssh

重复失败:不提示input密码:“运行'sftp user @ host'失败”

我有两个林德 VPS帐户,我想备份一个到另一个(原因主要是为了好玩和练习服务器pipe理)。 短版 Duplicity甚至没有要求我的密码,但立即说“无效的SSH密码”(但我可以SSH入其他服务器)。 为什么? 长版 当我运行duplicity /home/me scp://root@xxxx//root/backup我得到了 Invalid SSH password Running 'sftp root@xxxx' failed (attempt #1) Invalid SSH password Running 'sftp root@xxxx' failed (attempt #2) Invalid SSH password Running 'sftp root@xxxx' failed (attempt #3) 它说, Invalid SSH password立即没有机会实际input密码。 当我inputduplicity full -v9 –num-retries 4 /home/me scp://root@xxxx//root/backup我得到 Main action: full Running 'sftp [email protected]' (attempt #1) […]

SSH键盘交互与密码

鉴于最近在SSH端口的攻击,我正在尽我所能保持我的服务器。 当然,更改默认端口将是数字1的规则,但这是不可行的。 我们有denyhosts会设置一些iptables规则,也许fail2ban。 从公寓而不是考虑到最低限度的方法,你必须得到你的帮助,我的SSHD已经成立: ssh -v example.com debug1: Authentications that can continue: publickey,password,keyboard-interactive 我开始怀疑,我还能保持什么? 键盘互动(KI)或密码? 公钥是必需的。 根据文档,KI和密码都会做同样的事情,但是KI会做得更好。 任何人都可以在这里洒一些灯吗? 先谢谢你。

每当有人通过SSHlogin时向我发送电子邮件

有没有办法configurationsshd,以便每当有人通过SSHlogin时向我发送电子邮件?

Amazon EC2 SSH无法连接“错误的文件编号”

这是我被告知通过点击控制面板中的连接“ssh -i private_key.pem root @ instancePublicDNS” 那么一个失败,所以我想知道发生了什么,所以我跑“ssh -vvv private_key.pem root @ instancePublicDNS” OpenSSH_4.6p1,OpenSSL 0.9.8e 2007年2月23日 debug2:ssh_connect:needpriv 0 debug1:连接到private_key.pem [ 。 。 。 ] 22号港口。 debug1:连接到地址。 。 。 端口22:尝试连接超时而不build立连接 ssh:连接到主机private_key.pem端口22:错误的文件号码 有任何想法吗? 我search了谷歌和serverfault的答案,我发现了一些可能的解决scheme,无法正常工作。 有关实例的信息 AMI-ID:ami-688c7801(ubuntu 10.10服务器)

当密钥被接受时,SSHclosures连接

在服务器的auth.log : MYIP端口61313 ssh2失败的公钥为agladysh 在ssh -vvv : debug1:提供公钥:/Users/agladysh/.ssh/id_rsa debug3:send_pubkey_test debug2:我们发送了一个publickey包,等待回复 debug1:服务器接受密钥:pkalg ssh-rsa mix 277 debug2:input_userauth_pk_ok:fp FINGERPRINT debug3:sign_and_send_pubkey 服务器拒绝连接 我三重检查了authorized_keys 。 我也检查了: hosts.deny文件为我的IP AllowUsers在SSHconfiguration 我在服务器上的默认shell 任何提示如何debugging? 服务器:Ubuntu服务器11.04,客户端:Ubuntu 10.10(密钥从OS X转发,在其他服务器上运行)。

创build一个红帽企业服务器的完整备份

我需要通过networking创build一个红帽服务器的完整备份。 我已经看过一些解决scheme,如转储和快照,但似乎他们只是给我一个本地机器上的服务器的完整映像。 是否有任何软件可以通过networking映像整个机器,以便进行完整备份?

SSH:login时使用特定的密钥

在/home/petri/.ssh/我有我的私钥叫petri 。 当我尝试使用ssh连接到我的服务器时,它不接受我的私钥。 运行-v得知它不是在尝试我的密钥petry ,而只是不存在的id_rsa和id_dsa: $ssh server debug1: Authentications that can continue: publickey debug1: Next authentication method: publickey debug1: Offering public key: petri@office debug1: Authentications that can continue: publickey debug1: Offering public key: petri@office debug1: Authentications that can continue: publickey debug1: Offering public key: petri@office debug1: Authentications that can continue: publickey debug1: Offering public key: […]

打开UFW停止我的电子邮件客户端function(包括imap和smtp),即使他们被允许?

我在VPS上使用Ubuntu 10.04。 没有启用UFW everythign工作正常 – imap使用端口143.并发送电子邮件使用smtp端口587。 但是,当我打开UFW时遇到了很多问题。 电子邮件失败,sshlogin非常缓慢,并且dig命令不起作用 – 它超时 。 另外,Apt-get安装不起作用。 ufw状态详细返回: Status: active Logging: on (low) Default: deny (incoming), allow (outgoing) New profiles: skip To Action From — —— —- Anywhere ALLOW IN my.ip.address.0 Anywhere ALLOW IN my.ip.address.0/24 80 ALLOW IN Anywhere 443 ALLOW IN Anywhere 25/tcp ALLOW IN Anywhere 587 ALLOW IN […]

SFTP不工作,但SSH是

我已经有一台服务器运行CentOS几个月了。 几天前,我停止了能够通过SFTP连接到它。 我试过从多台电脑,操作系统,客户端和互联网连接。 虽然我可以很好的SSH。 例如,鹦鹉螺给我这个: Error: DBus error org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. Please select another viewer and try again. 我的印象是SFTP只是纯粹的SSH,如果一个工作,另一个工作,反之亦然。 显然,情况并非如此。 我可以做错什么?

通过Windows机器进行SSH端口转发

是否可以连接到只能从networking内部访问的SSH服务器,使用没有SSH作为网关的Windows机器? 让我用一个草图来澄清我的问题: 我(Linux机器)—> WIN(没有SSHD的Windows)—> LIN(有SSHD的Linux)。 Machine Me,是我用来通过WIN连接到LIN的PC。 WIN可以从外部访问,它有一个RDESKTOP端口打开,LIN只能从networking内部访问。 希望你明白这个问题。