草庐IT

virtual-machines-troubleshoot-ssh

全部标签

windows - 使用 cygwin 时 vagrant up "Error: Could not create directory '/home/username/.ssh'"

使用vagrant1.8.1,当尝试为已经初始化的盒子执行“vagrantup--providervirtualbox”时,我得到一个“错误:无法创建目录‘/home/用户名/.ssh'."按照此处的说明-https://atlas.hashicorp.com/centos/boxes/7the以下:命令:vagrantinitcentos/7;vagrantup--providervirtualbox输出:Therewasanerrorwhenattemptingtorsyncasyncedfolder.Pleaseinspecttheerrormessagebelowformore

windows - docker : Hyper-V was unable to find a virtual switch with name "DockerNAT"

我在Windows10专业版上更新了我的桌面应用程序docker(版本2.0.0.3)。但是从那以后我的docker没有启动并抛出以下错误。Hyper-V\Get-VMNetworkAdapter:Hyper-Vwasunabletofindavirtualswitchwithname"DockerNAT".AtC:\ProgramFiles\Docker\Docker\resources\MobyLinux.ps1:121char:25+...etAdapter=Hyper-V\Get-VMNetworkAdapter-ManagementOS-SwitchName$S...+~~~

windows - 有没有简单的方法在 xampp for windows 中安装 SSH?

有没有简单的方法在xamppforwindows中安装SSH? 最佳答案 我不这么认为。即使可以,您也无法像在*nix机器上期望的那样无缝访问apache和mysql。如果您已经死定了,最好的办法是只安装openssh服务器(http://sshwindows.sourceforge.net/)并确保您要使用的工具在路径中。不过,我总是发现在Windows机器上使用ssh带来的麻烦多于它的值(value)。 关于windows-有没有简单的方法在xamppforwindows中安装SSH

windows - 在 Windows 上尝试通过 SSH 连接到 Bitbucket 时出现 "Server refused to allocate pty"错误

我正在尝试将Mercurial连接到PC上的Bitbucket,这真的很难。我按照此处的说明操作:http://www.codza.com/mercurial-with-ssh-setup-on-windows我正在运行设置为我的私钥的选美。我在命令行输入了这个:plink-vhg@bitbucket.org我得到以下输出:C:\mypath>plink-vhg@bitbucket.org"skippedforbriefness"AccessgrantedOpenedchannelforsessionServerrefusedtoallocateptyStartedashell/com

ruby net/ssh channel 死了吗?

我试图将输入和处理分成两部分,以便不必指定提示(如wait_for)。问题是收到命令但从未处理过。从get_input线程调用channel进程(它在on_process中打印puts)但什么也没有发生。(on_process仅在调用on_data之后调用一次然后channel才处于事件状态?==true在这一点上仍然)ENV['PATH']='H:\mydocu~1\usrbin\ansi140\x86;'+ENV['PATH']`ansicon.exe-p`require'net/ssh'hostname="server"username="user"password="passw

windows - 在 Windows 上使用 docker-machine 将远程机器目录挂载到其容器

当我尝试将远程目录挂载到容器时:$eval$(docker-machineenvmanager)$dockerrun--restart=unless-stopped-d-p3376:2375\-v/etc/docker:/certs:ro\swarmmanage--tlsverify\--tlscacert=/certs/ca.pem\--tlscert=/certs/server.pem\--tlskey=/certs/server-key.pem\consul://$(docker-machineipkeystore):8500我得到错误:C:\ProgramFiles\Docke

windows - Emacs 中的路径名转换,用于从远程(ssh 编译)错误文件名中查找本地源文件路径

在Emacs中是否可以利用某种通用的路径名重写/规范化工具来允许将编译模式下的源文件转换为基于远程路径的本地路径?我希望使用符号链接(symboliclink),但这在Windows中对我不起作用。我正在运行GNUEmacs23.1.1,并尝试了cygwin-mount和w32-symlinks.el(使用(customize-option'w32-symlinks-handle-shortcuts));我无法获得open-file/dired/completions或compile-modenext-error以遵循Windows快捷方式或cygwin符号链接(symboliclin

windows - git bash (cache passphrase key) : Can't get the ssh-agent to run on windows, 修改了.bashrc 和.profile

谁能帮忙,我在Windows上,git正在将我的源设置为github。当然,每次我想pull/推或任何我需要为github提供key的密码时。根据我所阅读的内容,我需要编辑~/.profile或~/.bashrc并输入一些文本seehttps://help.github.com/articles/working-with-ssh-key-passphrases我已经这样做了很多次,实际上我在两个文件中都输入了它,但是当我打开一个新的GitBash窗口时,似乎没有任何东西运行(我假设某些东西应该运行并根据上面的链接询问我的密码).当然,每次Push或Pull都会再次要求我提供密码。我显然

windows - Git 推送不起作用,但 "git clone"和 SSH 可以

我设置了一个Debian服务器,它使用SSH进行shell访问和gitrepos。我在其上创建了一个裸存储库并使用ssh能够将其克隆到我的Windows8工作站,但是当尝试将更改推送回Debian服务器时,我得到了此处描述的错误:Readfromremotehost174.52.5.192:Connectionresetbypeerfatal:sha1file''writeerror:invalidargumentfatal:Theremoteendhungupunexpectedlyerror:failedtopushsomerefsto'git@174.52.5.192:/home