openSUSE is one of the Linux distributions, and beginners are not very familiar with the system. The following small series will introduce you how to install the openssh service in the openSUSE system. Let's learn together.
This article is to introduce the opensuse Detailed steps to manually install openssh services, reference use it
manually install openssh
Installation platforms: opensuse12.1 x86 KVM Virtual machine
First need to install the dependency package: zlib, openssl
1, download, extract the openssh-6.2p1
code is as follows:
#cd openssh -6.2p1
2, compile
The code is as follows:
#./configure --prefix=/usr --with-pam
#make
3, generate dsa /rsa encryption algorithm key file
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 the configuration file
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
Change #Port 22 to: Port 8022
Of course The ssh service is not installed on the service, and the default 22 port can also be used.
5, you may need to create an empty file
If you get an error: Missing privilege separation directory /var/empty, you do not need to do this step without 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 if the service starts normally
netstat -apn
DNSenum is a domain name information collection tool. When used under Fedora 18, there is an ip garb
gcc and ifor compiler are more commonly used by developers, before the small series also introduced
Linux history command is used to view the used commands, often used in Linux system operations, is a
I believe many people know what system files are, but few people know what the text stream is. In fa
How to install Autossh on Linux system
How to modify the SSH port number in Linux?
Linux how to use the cal command to view the calendar
Detailed examples of Linux dynamic library generation
Linux adds custom encryption algorithms to OpenSSL
What should I do when the Ubuntu hard disk reads and writes?
How CentOS 6 modifies disk quota limits
Introduction to Common Disk Arrays for Linux Systems
The usage of the hostname command under Linux is
How to make tmux and vim into IDE in Linux system
Linux uses the blockdev command to adjust the file read-ahead size
Linux beginners need to understand the Bash command operation skills to share
Microsoft embedded operating system into Win8
Hidden method of project in Win 8 control panel
XP skills can also be smarter to run
Have to wait, Opera browser ignores WP8 platform
Win10 starts two methods of speech recognition
Win8 system shortcut key win+X does not respond to the solution
Win8.1 how to turn off skydrive
How to upgrade Win7 system from 7100 RC to 7600
How to watch a movie card Reasons and solutions for watching a movie card