In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail how to use the ssh command in Linux. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.
Linux common command ssh command is a client connection tool in openssh suite, which can give ssh encryption protocol to achieve secure remote login server and remote management of the server.
Syntax format: ssh [parameters] [remote host]
Common parameters:-1 enforce the use of ssh protocol version 1-2 force the use of ssh protocol version 2-4 force the use of IPv4 address-6 force the use of IPv6 address-A turn on authentication agent connection forwarding function-a turn off authentication agent connection forwarding function-b use the address specified by this machine as the source IP address of the bit connection-C request to compress all data-F specify the configuration file of the ssh instruction The default configuration file is "/ etc/ssh/ssh_config"-f background execution ssh instruction-g allows the remote host to connect to the local forwarding port-I specify the identity file (that is, the private key file)-l specify the login user name to connect to the remote server-N does not execute the remote instruction-o specify configuration option-p specify the port on the remote server-Q silent mode All warnings and diagnostic messages are prohibited from output-X enables X11 forwarding function-x closes X11 forwarding function-y enables trust X11 forwarding function reference instance logs in to the remote server:
[root@linux265 ~] # ssh 202.102.240.88 use test users to connect to the remote server:
[root@linux265 ~] # ssh-l test 202.102.220.88 View partition list:
[root@linux265 ~] # ssh 202.102.220.88 / sbin/fdisk-l enforce the use of ssh protocol version 1:
[root@linux265 ~] # ssh-1 enables authentication proxy connection forwarding:
[root@linux265] # ssh-A this is the end of the article on "how to use ssh commands in Linux". I hope the above content can be helpful to you so that you can learn more knowledge. if you think the article is good, please share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.