Home > Operation and Maintenance > Linux Operation and Maintenance > How to log in remotely on linux

How to log in remotely on linux

藏色散人
Release: 2019-11-13 09:49:49
Original
2576 people have browsed it

How to log in remotely on linux

#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 ~]#
Copy after login

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 指令是切换到某一个用户;当权限不足的时候就要切换用户
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template