Skip to content

Instantly share code, notes, and snippets.

@sherylynn
Created January 22, 2020 14:52
Show Gist options
  • Select an option

  • Save sherylynn/f919f16b019ff70695ef193f9cc38af7 to your computer and use it in GitHub Desktop.

Select an option

Save sherylynn/f919f16b019ff70695ef193f9cc38af7 to your computer and use it in GitHub Desktop.
阿里云踩坑

阿里云轻量应用服务器debian9.9

安全组打开所有连接

控制面板生成密钥居然完全没用,机器里压根就没有对应的authorized_key

sshd_config 里也压根没开 密码访问和公钥访问

只能用网页版terminal

想用vim编辑,保存的时候不支持冒号 :w

测试环境是用的edge浏览器

想下载emacs

apt search搜了一圈没有

最后用nano 开了密码服务

再本地terminal ssh 上去 再 ssh-keygen 再设置公钥访问

再访问

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment