bash不识别命令 ssh_无法将“ ssh”识别为内部或外部命令

在尝试使用命令行将应用部署到Fortrabbit服务器时,遇到在Windows上bash不识别'ssh'命令的问题。解决方案包括安装SSH,生成SSH密钥,并了解如何通过git推送代码进行部署。如果遇到权限被拒绝,需要确保公钥已添加到dashboard的git选项中。此外,可以设置SSH密钥认证以避免输入密码。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

I have been trying to deploy my app into the Fortrabbit servers using the command line. I'm using windows. Here is what I tried :

C:\projects\riwaya>git remote add fort git@git2.eu1.frbit.com:riwaya.git

C:\projects\riwaya>git remote fort

C:\projects\riwaya>ssh u-riwaya@ssh2.eu1.frbit.com

'ssh' is not recognized as an internal or external command, operable program or batch file.

I have watched This Laracast Video and did the same as Jeffrey but it doesn't work ...

Can somebody help ?

解决方案

Actually you have 2 problems here: First is that you don't have ssh installed, second is that you don't know how to deploy

Install SSH

It seems that ssh is not installed on your computer.

Generate your key

Than you will have to geneate your ssh-key. There's a good tutorial

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值