首页 文章

freebsd ec2-user sftp amazon ec2 console

提问于
浏览
0

我曾尝试使用winscp登录我的服务器 . 我还没有成功登录服务器 . 我一直收到错误消息
enter image description here

我需要将sql文件删除到服务器 . 当我使用winscp登录我的freebsd实例时,我得到了ec2密钥的密码提示 . 我想知道你是否应该为ec2用户设置密码 . 服务器是从amazon ec2 aws控制台启动的 .

enter image description here

1 回答

  • 0

    我最终搞清楚了 . 我不得不发出以下命令 .

    sudo passwd ec2-user
    

    要么

    su 
    
    passwd ec2-user
    

    它最终工作了 .

相关问题