Hello,
Could you please help me how to install SSH server on puppy?
Thank you in advance.
Moderator: Forum moderators
Hello,
Could you please help me how to install SSH server on puppy?
Thank you in advance.
I've created bash file and done everything according the instruction. (It ran and also generated dss and rsa keys) but still not working.
P.S. In any case disabled firewall.
How to check if dropbear listens to the port 22?
Here is a video what I've done: https://www.loom.com/share/da7b65b0cce1 ... 0264bd8554
The script you created should be labeled "dropbear_keys" or something similar. Not "dropbear".
It is only a script to create the keys.
Dropbear is the program that got installed with the .pet file.
After you run the "dropbear_keys", run "dropbear" in the console to start the server,
make_dropbear_keys.sh
CODE: SELECT ALL
Code: Select all
#!/bin/sh
#
# make_dropbear_keys.sh
#
mkdir /etc/dropbear
cd /etc/dropbear
RSA_KEYFILE=/etc/dropbear/dropbear_rsa_host_key
DSS_KEYFILE=/etc/dropbear/dropbear_dss_host_key
dropbearkey -t dss -f $DSS_KEYFILE
dropbearkey -t rsa -f $RSA_KEYFILE
run the script and in a terminal start dropbear
CODE: SELECT ALL
Code: Select all
dropbear
[/quote]
When I type "dropbear" it says:
bash: dropbear: command nor found
@brevalo What happens if you open a terminal and try?
Code: Select all
dropbear
Is Dropbear starting at all?
It says whaty I've written:
bash: dropbear: command nor found
Rockedge, can he just install dropbear from Puppy Package Manager? I don't know what is different with the PET referenced in the link.
Yes I see now you typed it. Okay I have downloaded it again and extracted the PET to see what is going on.
the dropbear binary should be in /usr/local/sbin if it is not you can extract the PET file and copy the dropbear binary to that location. Perhaps /usr/local/sbin is not in $PATH ??
EDIT: I found that /usr/local/sbin is NOT in the $PATH on my test system.
@brevalo So in a terminal try
Code: Select all
/usr/local/sbin/dropbear
should just return to the command prompt without any output if successful
@snoring_cat at the time I compiled the package and created the PET, it was not offered in the PPM
Tested the PET install in Fossapup64 and works. But either adjust the $PATH to include /usr/local/sbin or use
Code: Select all
export PATH=/usr/local/sbin:$PATH
or symlink it to (or copy) /usr/local/bin