vultr一键搭建ss教程(手机vultr搭建ssr教程)
重新搭建服务器:
根据需求,选择每个月需要的流量,一般流量越多,钱也越多,我选择的具体如下:
选3.5$/m,
server type:64 bit os, centos:6*64
打开终端:
先拼地址:
ping 144.202.23.71(买vultr服务器的地址)
ssh root@144.202.23.71
然后输入密码:
m5s@#?744zem)u@(
congratulations, *-python server install completed!
your server ip : 207.246.97.131
your server port : 56473
your password : studyhard
your encryption method: chacha20-ietf-poly1305
welcome to visit:https://teddysun.com/342.html
enjoy it!
[root@vultr ~]#
执行命令:
wget –no-check-certificate https://raw.githubusercontent.com/teddysun/*_install/master/*.sh
chmod +x *.sh
./*.sh 2>&1 | tee *.log
设置完成后:
congratulations, *-python server install completed!
your server ip : 144.202.23.71
your server port : 12528
your password : teddysun.com
your encryption method: aes-256-gcm
welcome to visit:https://teddysun.com/342.html
enjoy it!
设置小飞机:设置服务器vultr
ssh root@144.202.23.71
操作时处理异常:
在平时工作中,有时候需要ssh登陆到别的linux主机上去,但有时候ssh登陆会被禁止,并弹出如下类似提示:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ warning: remote host identification has changed! @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@it is possible that someone is doing something nasty!someone could be eavesdropping on you right now (man-in-the-middle attack)!it is also possible that the rsa host key has just been changed.the fingerprint for the rsa key sent by the remote host is36:68:a6:e6:43:34:6b:82:d7:f4:df:1f:c2:e7:37:cc.please contact your system administrator.add correct host key in /u/xlian008/.ssh/known_hosts to get rid of this message.offending key in /u/xlian008/.ssh/known_hosts:2rsa host key for 135.1.35.130 has changed and you have requested strict checking.host key verification failed.
比较奇怪,于是研究了一下。
ssh会把你每个你访问过计算机的公钥(public key)都记录在~/.ssh/known_hosts。当下次访问相同计算机时,openssh会核对公钥。如果公钥不同,openssh会发出警告, 避免你受到dns hijack之类的攻击。我在上面列出的情况,就是这种情况。
原因:一台主机上有多个linux系统,会经常切换,那么这些系统使用同一ip,登录过一次后就会把ssh信息记录在本地的~/.ssh/known_hsots文件中,切换该系统后再用ssh访问这台主机就会出现冲突警告,需要手动删除修改known_hsots里面的内容。