#How to log in to a linux server remotely?
1. Introduction to SSH (SecureCRT)
SecureCRT is a terminal emulation program that supports SSH (SSH1 and SSH2). Simply put, it is used to log in to UNIX or Linux server hosts under Windows. Recommended software
: "Linux Tutorial"
2. Download the SSH (SecureCRT) cracked version
3.SSH Create a connection (connect to the remote server)
4. Log in as root user
Username: root
Enter password: xxxx
5. Remote login to linux Successful interface
Last login: Thu Aug 4 15:30:50 2016 from 192.xxx.xx.2 [root@localhost ~]#
6. Linux common instructions
clear //清楚控制台 lynx 127.0.0.1 //用浏览器访问127.0.0.1 vim /ect/gitlab/gitlab.rb 打开一个文件,按i修改文件的内容,按esc退出修改,按shift+:输入指令:wq 写并退出;q!只是退出。 netstat -help netstat -anpt | grep 8080 //过滤出监听8080端口的服务 netstat -ano | grep 192.168.... //过滤192.168.113.2 的ip地址 ctrl+u 快速上翻,查看内容 ctrl+d 快速下翻,查看内容 ? 文件中,进行收索 reboot 重启 wget http://xxxxxx 下载文件 tar xx.zip 解压一个文件 ln 为某一个文件在另外一个位置建立一个同不的链接 cd / 回到跟目录 ./xxx.sh 执行当前文件下的一个sh脚本 /var/local/study_tomcat/bin/xxx.sh 执行指定路劲的一个sh脚本 ps aux|grep xxx 查看带xxx关键字的进程 su root 切换到root用户; su xxxx 指令是切换到某一个用户;当权限不足的时候就要切换用户
The above is the detailed content of How to log in remotely on linux. For more information, please follow other related articles on the PHP Chinese website!