In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
2025-12-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the relevant knowledge of "opensuse installation openssh service detailed steps". In the actual case operation process, many people will encounter such difficulties. Next, let Xiaobian lead you to learn how to deal with these situations! I hope you can read carefully and learn something!
Manual installation of openssh
Installation platform: opensuse12.1 x86 KVM virtual machine
First you need to install dependency packages: zlib, openssl
1, Download, Extract openssh-6.2p1
The code is as follows:
#cd openssh-6.2p1
2. Compilation
The code is as follows:
#./ configure --prefix=/usr --with-pam
#make
3. Generate the key file of dsa/rsa encryption algorithm
The code is as follows:
./ ssh-keygen -t dsa -f /usr/etc/ssh_host_dsa_key
./ ssh-keygen -t rsa -f /usr/etc/ssh_host_rsa_key
4. Copy configuration files
The code is as follows:
#cp -r /etc/ssh /etc/myssh/
Modify the configuration file/etc/myssh/sshd_config to change the service listening port to 8022
Replace #Port 22 with: Port 8022
Of course, if the ssh service is not installed on the service, you can also use the default port 22.
5. You may need to create an empty file
If the error: Missing privilege separation directory /var/empty is reported, this step is not required if there is no error.
The code is as follows:
mkdir /var/empty
chown root:wheel /var/empty
chmod 555 /var/emp
6. Start the service
The code is as follows:
/home/hby/software/openssh-6.2p1/sshd -f /etc/myssh/sshd_config
7. Check whether the service starts normally
netstat -apn| grep sshd to see if port 8022 is available. If so, you can use client connections
Client #ssh root@192.168.76.62-p 8022
"opensuse installation openssh service detailed steps" content is introduced here, thank you for reading. If you want to know more about industry-related knowledge, you can pay attention to the website. Xiaobian will output more high-quality practical articles for everyone!
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.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.