Hello,
I am trying to get ssh working with two machines running bionic pup 8.
If I try to connect to other linux machines on the network (A raspberry pi and a linux mint pc) SSH and x redirect works fine on both the puppy machines. In other words they both work fine as client. I am thinking something is wrong with them accepting ssh connections as host.
if I try to connect to either puppy machine from the puppy machines or others I get timeouts, I am using openssh and everything appears to be installed and working. I'm not sure how to verify if the port 22 is working on the puppy linux machines. Does anyone know what the default port is for bionic puppy linux or know how I can get them to allow ssh connections?
Thanks in advance for any help. I have been googling and trying to fix this issue for about 2 full days now. Nothing seems to work.
Bionic pup 8 and SSH problems
Moderator: Forum moderators
- rockedge
- Site Admin
- Posts: 6556
- Joined: Mon Dec 02, 2019 1:38 am
- Location: Connecticut,U.S.A.
- Has thanked: 2760 times
- Been thanked: 2635 times
- Contact:
Re: Bionic pup 8 and SSH problems
The best results I get is by using Dropbear as the SSH server in Bionic.
here are links to them as a PET file:
http://rockedge.org/kernels/data/PET/Bi ... 8-i686.pet
http://rockedge.org/kernels/data/PET/Bi ... x86_64.pet
Install them and create the proper keys for drop box by
creating a directory /etc/dropbear
enter the directory and create a script in it and run it :
start dropbear in a terminal:
then use an SSH client like pUTTY or the built in client in Bionicpup to connect to the dropbear server computer.
here are links to them as a PET file:
http://rockedge.org/kernels/data/PET/Bi ... 8-i686.pet
http://rockedge.org/kernels/data/PET/Bi ... x86_64.pet
Install them and create the proper keys for drop box by
creating a directory /etc/dropbear
enter the directory and create a script in it and run it :
Code: Select all
#!/bin/sh
RSA_KEYFILE=/etc/dropbear/dropbear_rsa_host_key
DSS_KEYFILE=/etc/dropbear/dropbear_dss_host_key
dropbearkey -t rsa -f $RSA_KEYFILE
dropbearkey -t dss -f $DSS_KEYFILE
Code: Select all
dropbear
Re: Bionic pup 8 and SSH problems
I would prefer to use openssh as it works on all my other machines.
I'm not sure I understand how to make keys. Can't I just use passwords?
I'm not sure I understand how to make keys. Can't I just use passwords?
- rockedge
- Site Admin
- Posts: 6556
- Joined: Mon Dec 02, 2019 1:38 am
- Location: Connecticut,U.S.A.
- Has thanked: 2760 times
- Been thanked: 2635 times
- Contact:
Re: Bionic pup 8 and SSH problems
the keys are for the SSH encryption when the 2 machines communicate. You will of course login with a password which for example, if I was to SSH log into Puppy Linux Bionic64 I would have user = root and password = woofwoof. The keys are for internal work you will not have to deal with. The password here is the default one and you would use your configured one.
to make the keys create open a terminal and type these commands :
then start dropbear with
on a second machine use an SSH client like Menu->Internet->Ssh-gui secure remote login
or from the command line.
screenshot of the SSH session connected between 2 machines. The Dropbear SSH server is on a WeeDog64-Arch and the client side is Puppy Linux Bionic64-CE. Running is PCmanFM file manager from WeeDog64-Arch.
Dropbear runs just as great on Puppy Linux as it does on WeeDog
to make the keys create open a terminal and type these commands :
Code: Select all
mkdir -p /etc/dropbear
cd /etc/dropbear
dropbearkey -t dss -f /etc/dropbear/dropbear_dss_host_key
dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_host_key
Code: Select all
dropbear
or from the command line.
screenshot of the SSH session connected between 2 machines. The Dropbear SSH server is on a WeeDog64-Arch and the client side is Puppy Linux Bionic64-CE. Running is PCmanFM file manager from WeeDog64-Arch.
Dropbear runs just as great on Puppy Linux as it does on WeeDog
Re: Bionic pup 8 and SSH problems
The first thing is to confirm that SSH server is running on the machines you are trying to connect to.
On each of those machines type this at a command line: > ssh localhost
If the reply says, "connection refused" then SSH server is not running on that machine. You will need to start ssh server.
On each of those machines type this at a command line: > ssh localhost
If the reply says, "connection refused" then SSH server is not running on that machine. You will need to start ssh server.
Re: Bionic pup 8 and SSH problems
root# ssh localhost
ssh: connect to host localhost port 22: Connection refused
root#
Looks like the ssh server is running but port 22 is blocked. Can someone help me unblock the ports so I can make this work?
I am trying to use ssh and x redirect on my main workstation across the network to run programs and use available resources from the other computers on the network. This is something I've always wanted to do or figure out. Please help me get this going.
ssh: connect to host localhost port 22: Connection refused
root#
Looks like the ssh server is running but port 22 is blocked. Can someone help me unblock the ports so I can make this work?
I am trying to use ssh and x redirect on my main workstation across the network to run programs and use available resources from the other computers on the network. This is something I've always wanted to do or figure out. Please help me get this going.
Re: Bionic pup 8 and SSH problems
Right click your firewall icon on the desktop tray bar and open firewall setup. From the menu you can toggle various customized configurations.
- Attachments
-
- firewall-1.jpg (57.12 KiB) Viewed 1038 times