Puppy linux ssh server

Puppy Linux Discussion Forum

Setup a Dropbear SSH Server on Bionic64-v8 and Bionic64-CE

rockedge Site Admin Posts: 4284 Joined: Mon Dec 02, 2019 1:38 am Location: Connecticut,U.S.A. Has thanked: 864 times Been thanked: 1246 times Contact:

Setup a Dropbear SSH Server on Bionic64-v8 and Bionic64-CE

Post by rockedge » Fri Aug 14, 2020 6:21 pm

To set up a Dropbear SSH server in Bionic64-8.0 and Bionic64-CE
The Bionic64 must have the Devx.sfs installed and recommend the 32 bit compatibility libraries as well but that can be optional.

OscisTheBassist Posts: 2 Joined: Tue Nov 02, 2021 5:21 pm Has thanked: 1 time Been thanked: 1 time

Re: Setup a Dropbear SSH Server on Bionic64-v8 and Bionic64-CE

Post by OscisTheBassist » Wed Nov 03, 2021 10:28 am

I am getting the «The requested page could not be found.» message when clicking the link.
Perhaps this link is the correct one?
http://oldforum.puppylinux.com/viewtopic.php?t=118885

  • General Information
  • ↳ Before Installing Puppy, README FIRST
  • ↳ Getting Started and System Requirements
  • ↳ Internationalization
  • Distributions
  • ↳ Mainline Puppy Linux Distros
  • ↳ Bionic
  • ↳ Bookworm Pup64,
  • ↳ DPupStretch
  • ↳ F96-CE
  • ↳ Fossapup64
  • ↳ LxPupSc
  • ↳ Raspbian Buster
  • ↳ Slacko
  • ↳ SPups
  • ↳ Tahr
  • ↳ Vanilla Dpup
  • ↳ VoidPup
  • ↳ Xenial
  • ↳ Legacy
  • ↳ Kennel Linux
  • ↳ KLV-Airedale
  • ↳ KLA
  • ↳ KLU-jam
  • ↳ KLV-Spectr
  • ↳ KL-Dev_Work
  • ↳ How-To
  • ↳ Puppy Derivatives
  • ↳ Re-masters
  • ↳ Specialized
  • ↳ Built from woof-CE Recipes
  • ↳ F96CE-XFCE-FUSILLI
  • ↳ Distributions Archive
  • House Training
  • ↳ Announcements
  • ↳ Beginners Help
  • ↳ Users
  • ↳ Bug Reports
  • ↳ Instructional HOW-TO Section
  • ↳ Boot
  • ↳ Browsers
  • ↳ Compile
  • ↳ F96-CE+
  • ↳ File Management
  • ↳ Graphics/Video
  • ↳ Install
  • ↳ Network/Server
  • ↳ Repair
  • ↳ Security
  • ↳ Sounds
  • ↳ Tips & Tweaks
  • ↳ Upgrade/Backup
  • ↳ Utility
  • Advanced Topics
  • ↳ Additional Software (PETs, n’ stuff)
  • ↳ AppImages, Snaps and Flatpaks
  • ↳ Browsers and Internet
  • ↳ Business
  • ↳ Compiling
  • ↳ Desktop
  • ↳ Documents
  • ↳ Drivers
  • ↳ Educational
  • ↳ Emulation
  • ↳ Engineering/Science/Simulation
  • ↳ Eye Candy
  • ↳ Backgrounds
  • ↳ Filesystem
  • ↳ Games
  • ↳ Graphics
  • ↳ Java
  • ↳ Kernels
  • ↳ Multimedia
  • ↳ Network
  • ↳ Package Collections/Repositories
  • ↳ REQUESTS
  • ↳ Security/Privacy
  • ↳ System
  • ↳ Utilities
  • ↳ Virtualization
  • ↳ WINE
  • ↳ WINE 64 BIt
  • ↳ WINE 32 Bit
  • ↳ Puppy Projects
  • ↳ Cutting Edge
  • ↳ Hardware
  • ↳ Servers
  • ↳ woof-CE
  • ↳ Programming
  • ↳ Scripts
  • ↳ Development
  • Dog House
  • ↳ DebianDogs
  • ↳ UbuntuDogs
  • EasyOS
  • FatDog
  • ↳ FatDog64
  • ↳ Software
  • Dog Incubator
  • ↳ dCoreDog
  • ↳ Corepup
  • Puppy Linux International
  • ↳ Für deutschsprachige Anhänger
  • ↳ Italian Puppy Linux Forum
  • ↳ Pour les francophones
  • ↳ Usuarios de habla Hispana
  • ↳ Standard Chinese Language PET’s
  • ↳ Russian — Россия
  • Off-Topic Area
  • ↳ Security
  • ↳ Forum Organization & Structure Council
  • ↳ Other Distros
  • ↳ FirstRib (old archived info)
  • ↳ ForumLink
  • ↳ About
  • ↳ Announcements
  • ↳ HowTo
  • ↳ Software
  • ↳ Beginners
  • ↳ Users
  • ↳ Programming
  • ↳ Bug_Reports
  • ↳ Blog
  • ↳ Comparisons
Читайте также:  Linux команда группа пользователь

Powered by phpBB® Forum Software © phpBB Limited

Источник

How to start sshd on Puppy Linux?

  1. SSH should be installed in all puppies by default. Despite the name, this is only the client part of SSH, which allows one to log in to a host computer running another OS such as Raspberry Pi, Ubuntu, Antix, etc. Confirm this installation by looking for the ssh_config file in /etc/ssh. It is not necessary to edit this file, although in some cases a change in permissions of this file may be required to run as server. If another Linux Distro (eg Ubuntu) is running an SSH server on the same LAN, you can test the operation of the Puppy as a client as per step 10. This is not essential because we can test the operation of the SSH-client on the local or host device as per step 8 as part of the setup.
  2. To run SSH as a server, one needs to install SSHD — the SSH Daemon Server, which listens at port 22 (or otherwise configured) for clients requesting access to the Host Secure Shell. The host software Openssh-server can be installed from the PPM. As of LX Bionic pup, the version is 7.6p1, and on earlier Tahrpuppies it is 6.6.1p1.
  3. After installation of Openssh-server from the PPM, open the main SSH folder found at /etc/ssh . This folder must have two config files: ssh_config and sshd_config , plus a file called moduli. In the likely event that the default sshd_config file does not exist, download the script from: https://github.com/openssh/openssh-portable/blob/master/sshd_config This script must be pasted into a newly created text file, or an existing shell script which is gutted, populated with the sshd script and then re-named. Permissions may need to be changed to make the file editable or accessible. Failing that, copy the file from another operating Linux distribution where SSHD is installed. However, it is better to start with a default script.
  4. The sshd_config file must now be edited to operate under Puppy Linux. From experience, some of the lines below in the script seem to be more critical than others, as indicated in the RHS (#) comments. Remove any “#” comment tags on the LHS of the lines listed below and edit as shown. Optional lines should be able to be left as comments as these are the default configurations.
Port 22 # Optional, as this is the default AddressFamily any # Optional ? LoginGraceTime 2m # Optional PermitRootLogin yes # Critical for puppy linux PubkeyAuthentication no # Critical for initial use PasswordAuthentication yes # Critical for initial use PermitEmptyPasswords yes # Optional, otherwise use no ChallengeResponseAuthentication yes # Critical for initial use UsePAM no # Critical AllowTcpForwarding yes # Optional ? X11Forwarding yes # If one wishes to run GUI applications in the host computer X11DisplayOffset 10 # Recommended X11UseLocalhost yes # Optional ? PrintMotd no # Optional ? TCPKeepAlive yes # Optional ? Subsystem sftp /usr/lib/openssh/sftp-server # Optional ? 
Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 6866/sshd 

For a shorter output, which only lists port 22, use: netstat -anplt | grep :22 (care with spaces) which, if SSHD is operating should give:

tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 6866/sshd 
debug1: SSH2_MSG_KEXINIT sent Read from socket failed: Connection reset by peer OR ssh_exchange_identification: read: Connection reset by peer OR ssh_exchange_identification: read: Closed by unknown 

Источник

How to start sshd on Puppy Linux?

  1. SSH should be installed in all puppies by default. Despite the name, this is only the client part of SSH, which allows one to log in to a host computer running another OS such as Raspberry Pi, Ubuntu, Antix, etc. Confirm this installation by looking for the ssh_config file in /etc/ssh. It is not necessary to edit this file, although in some cases a change in permissions of this file may be required to run as server. If another Linux Distro (eg Ubuntu) is running an SSH server on the same LAN, you can test the operation of the Puppy as a client as per step 10. This is not essential because we can test the operation of the SSH-client on the local or host device as per step 8 as part of the setup.
  2. To run SSH as a server, one needs to install SSHD — the SSH Daemon Server, which listens at port 22 (or otherwise configured) for clients requesting access to the Host Secure Shell. The host software Openssh-server can be installed from the PPM. As of LX Bionic pup, the version is 7.6p1, and on earlier Tahrpuppies it is 6.6.1p1.
  3. After installation of Openssh-server from the PPM, open the main SSH folder found at /etc/ssh . This folder must have two config files: ssh_config and sshd_config , plus a file called moduli. In the likely event that the default sshd_config file does not exist, download the script from: https://github.com/openssh/openssh-portable/blob/master/sshd_config This script must be pasted into a newly created text file, or an existing shell script which is gutted, populated with the sshd script and then re-named. Permissions may need to be changed to make the file editable or accessible. Failing that, copy the file from another operating Linux distribution where SSHD is installed. However, it is better to start with a default script.
  4. The sshd_config file must now be edited to operate under Puppy Linux. From experience, some of the lines below in the script seem to be more critical than others, as indicated in the RHS (#) comments. Remove any “#” comment tags on the LHS of the lines listed below and edit as shown. Optional lines should be able to be left as comments as these are the default configurations.
Port 22 # Optional, as this is the default AddressFamily any # Optional ? LoginGraceTime 2m # Optional PermitRootLogin yes # Critical for puppy linux PubkeyAuthentication no # Critical for initial use PasswordAuthentication yes # Critical for initial use PermitEmptyPasswords yes # Optional, otherwise use no ChallengeResponseAuthentication yes # Critical for initial use UsePAM no # Critical AllowTcpForwarding yes # Optional ? X11Forwarding yes # If one wishes to run GUI applications in the host computer X11DisplayOffset 10 # Recommended X11UseLocalhost yes # Optional ? PrintMotd no # Optional ? TCPKeepAlive yes # Optional ? Subsystem sftp /usr/lib/openssh/sftp-server # Optional ? 
Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 6866/sshd 

For a shorter output, which only lists port 22, use: netstat -anplt | grep :22 (care with spaces) which, if SSHD is operating should give:

tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 6866/sshd 
debug1: SSH2_MSG_KEXINIT sent Read from socket failed: Connection reset by peer OR ssh_exchange_identification: read: Connection reset by peer OR ssh_exchange_identification: read: Closed by unknown 

Источник

Оцените статью
Adblock
detector