Any one got sshd for puppy
Any one got sshd for puppy
Questions in to the topic...
Im looking for a sshd for puppy 4 has any one build one already?
Im looking for a sshd for puppy 4 has any one build one already?
puppylinux.ca's search feature is your friend:
http://puppylinux.ca/tpp/Grafpup/packag ... 4p1.tar.gz
http://puppylinux.ca/tpp/ttuuxxx/Libs/c ... sshdsd.dll
http://puppylinux.ca/tpp/Grafpup/packag ... 4p1.tar.gz
http://puppylinux.ca/tpp/ttuuxxx/Libs/c ... sshdsd.dll
Last edited by alienjeff on Wed 30 Jul 2008, 14:13, edited 1 time in total.
[size=84][i]hangout:[/i] ##b0rked on irc.freenode.net
[i]diversion:[/i] [url]http://alienjeff.net[/url] - visit The Fringe
[i]quote:[/i] "The foundation of authority is based upon the consent of the people." - Thomas Hooker[/size]
[i]diversion:[/i] [url]http://alienjeff.net[/url] - visit The Fringe
[i]quote:[/i] "The foundation of authority is based upon the consent of the people." - Thomas Hooker[/size]
Re: Any one got sshd for puppy
hey DrOwlDrOwl wrote:Questions in to the topic...
Im looking for a sshd for puppy 4 has any one build one already?
just made you one test drive this 1016 KB 07/21/2008 05:49:00 PM
download with wget the server has been buggy lately
wget -c http://ttuuxxx.com/bigbass/openssh-5.1.pet
More info on the package
http://www.openssh.com/faq.html
extra info if you want to keep updated
I got it from here
ftp://ftp.openbsd.org/pub/OpenBSD/OpenS ... 1p1.tar.gz
just if you wanted to know
let me know how it goes
this is what gets auto installed with the pet
/install/doinst.sh
/usr/dop1/ChangeLog
/usr/dop1/TODO
/usr/dop1/README
/usr/dop1/LICENCE
/usr/dop1/INSTALL
/usr/dop1/CREDITS
/usr/bin/ssh-keyscan
/usr/bin/ssh
/usr/bin/ssh-keygen
/usr/bin/ssh-agent
/usr/bin/scp
/usr/bin/ssh-add
/usr/bin/sftp
/usr/sbin/sshd
/usr/man/man5/moduli.5.gz
/usr/man/man5/sshd_config.5.gz
/usr/man/man5/ssh_config.5.gz
/usr/man/man8/sshd.8.gz
/usr/man/man8/sftp-server.8.gz
/usr/man/man8/ssh-keysign.8.gz
/usr/man/man1/ssh-keygen.1.gz
/usr/man/man1/ssh.1.gz
/usr/man/man1/ssh-agent.1.gz
/usr/man/man1/ssh-add.1.gz
/usr/man/man1/scp.1.gz
/usr/man/man1/sftp.1.gz
/usr/man/man1/ssh-keyscan.1.gz
/usr/etc/moduli
/usr/etc/sshd_config
/usr/etc/ssh_config
/usr/libexec/sftp-server
/usr/libexec/ssh-keysign
/usr/share/Ssh.bin
big_bass
Last edited by big_bass on Thu 31 Jul 2008, 21:53, edited 1 time in total.
Thank you both, most cool indeed
I used Big_Bass's new package...
just a quick install of the pet, then i generated some host keys with
# ssh-keygen -t rsa -f /usr/etc/ssh_host_rsa_key
# ssh-keygen -t dsa -f /usr/etc/ssh_host_dsa_key
# ssh-keygen -t rsa1 -f /usr/etc/ssh_host_key
and modded the config /usr/etc/sshd_config so root can not log directly in (not that im paranoid)
`PermitRootLogin no`
while i was there i set up a banner
`Banner /etc/motd`
+ created my self a local non root user with user add.
mkdir /home
'adduser -h /home/[localusername] [localusername]
I had a problem su'ing to root so i had to add SUID
chmod 4777 /bin/su
and then set up the firwall to limmit who can ssh to my box.
I have'nt looked at the openssh tar yet, did you have to compile it?
+ how come "/usr/etc" is that puppy thing, or just general linux (me being a Solaris dude im use it sshd config being in /etc/ssh/)
I used Big_Bass's new package...
just a quick install of the pet, then i generated some host keys with
# ssh-keygen -t rsa -f /usr/etc/ssh_host_rsa_key
# ssh-keygen -t dsa -f /usr/etc/ssh_host_dsa_key
# ssh-keygen -t rsa1 -f /usr/etc/ssh_host_key
and modded the config /usr/etc/sshd_config so root can not log directly in (not that im paranoid)
`PermitRootLogin no`
while i was there i set up a banner
`Banner /etc/motd`
+ created my self a local non root user with user add.
mkdir /home
'adduser -h /home/[localusername] [localusername]
I had a problem su'ing to root so i had to add SUID
chmod 4777 /bin/su
and then set up the firwall to limmit who can ssh to my box.
I have'nt looked at the openssh tar yet, did you have to compile it?
+ how come "/usr/etc" is that puppy thing, or just general linux (me being a Solaris dude im use it sshd config being in /etc/ssh/)
Hey DrOwlDrOwl wrote:T
I have'nt looked at the openssh tar yet, did you have to compile it?
+ how come "/usr/etc" is that puppy thing, or just general linux (me being a Solaris dude im use it sshd config being in /etc/ssh/)
great to hear your progress setting it up
if you need to modify anything else update this post please so it can be useful for the next guy
you did a great job listing what you did ..you can make a how to ( hint)
this link below is the original source code if there is an update you can check here
ftp://ftp.openbsd.org/pub/OpenBSD/OpenS ... 1p1.tar.gz
I already compiled it ( the above ftp link its only a reference ) for you then converted it into a pet package
for puppy .One of the common configure options is --prefix=/usr
you will notice some other options used below to compile this package
this an out put of a source compiling script
SOURCE_NAME='openssh-5.1p1.tar.gz'
NAME='openssh'
VERSION='5.1p1'
# ARCH='i486'
BUILD='1'
PRE_FIX='usr'
# Any extra options go here
# EXTRA_CONFIGS=''
# STD_FLAGS='-O2 -march=i486 -mtune=i686'
if you want me to do anything to the pet let me know
big_bass
Ok i made a wiki page, buggered up the title though, hopefully some one will fix that.
Please add / cleanup anything thing on the wiki page =)
http://www.puppylinux.org/wiki/applicat ... t-petssshd
thanks for the info...
one thing that might be nice to add is a rc.d script, ill have a look at making one, and post it here.
Please add / cleanup anything thing on the wiki page =)
http://www.puppylinux.org/wiki/applicat ... t-petssshd
thanks for the info...
one thing that might be nice to add is a rc.d script, ill have a look at making one, and post it here.
oh also i just noticed:
Jul 31 17:09:33 (none) auth.info sshd[23976]: lastlog_filetype: Couldn't stat /var/log/lastlog: No such file or directory
so i ran 'touch /var/log/lastlog`
restarted sshd `kill -HUP [sshd's PID]`
and lastlog now has data in it
+
Aug 1 17:52:00 (none) auth.info sshd[12327]: Accepted password for [user] from 1.1.1.1 port 61112 ssh2
Aug 1 17:52:00 (none) auth.err sshd[12398]: error: open /dev/tty failed - could not set controlling tty: Permission denied
not sure how to fix this, but its home time so ill look next time, any one got an idea?
Jul 31 17:09:33 (none) auth.info sshd[23976]: lastlog_filetype: Couldn't stat /var/log/lastlog: No such file or directory
so i ran 'touch /var/log/lastlog`
restarted sshd `kill -HUP [sshd's PID]`
and lastlog now has data in it
+
Aug 1 17:52:00 (none) auth.info sshd[12327]: Accepted password for [user] from 1.1.1.1 port 61112 ssh2
Aug 1 17:52:00 (none) auth.err sshd[12398]: error: open /dev/tty failed - could not set controlling tty: Permission denied
not sure how to fix this, but its home time so ill look next time, any one got an idea?
I don't need to ssh into my laptop with Puppy, I need to ssh from it to my desktop, with Fedora 9, and I'd rather use RSA authentication instead of password. Can I get the keygen program on its own, and if so, what parameter do I give it to get what I need? If all else fails, I can always do the keygen on my desktop, but that lacks elegance.
Registered Linux user #470359
I've also just installed the sshd package from big_bass. Followed these notes and the wiki page. Thanks guys!DrOwl wrote:Ok i made a wiki page, buggered up the title though, hopefully some one will fix that.
Please add / cleanup anything thing on the wiki page =)
.
I had one minor glitch. When I tried to start sshd I got the error
Code: Select all
Privilege separation user sshd does not exist
Code: Select all
addgroup sshd
adduser -H -G sshd -h /var/empty -s /bin/false -D sshd
repackaged Bigbass's OpenSSH5.1
I have repackaged bigbass's (slackware) openssh-5.1 to do the install automatically with a pinstall.sh script in the PET that:
1. adds the sshd user - so the "Separated privileges" issue doesn't crop up
2. An automatic boot script loads the sshd server on each boot - and after installation
3. Only spot is allowed to login to the sshd server - root is specifically disallowed
4. Opens terminal screens to change the passwords for root and for spot at installation time
I put it up at
ftp.servage.net
user:puppy
pwd:puppylinux
under pet-packages
I have not logged into the wiki to update it - obviously this takes a bit of the fun out of the installation!
1. adds the sshd user - so the "Separated privileges" issue doesn't crop up
2. An automatic boot script loads the sshd server on each boot - and after installation
3. Only spot is allowed to login to the sshd server - root is specifically disallowed
4. Opens terminal screens to change the passwords for root and for spot at installation time
I put it up at
ftp.servage.net
user:puppy
pwd:puppylinux
under pet-packages
I have not logged into the wiki to update it - obviously this takes a bit of the fun out of the installation!
brucehohl wrote:growler,
I installed your version of openssh-5.1.pet on Puppy 4.1 but sshd did not start due to this error: "Missing privilege separation directory: /var/empty". After adding /var/empty everything worked perfectly.
Thanks, BH
well yes I complied it as a slackware package from this source (link below) first then I made it a puppy package check more info on my above postI have repackaged bigbass's (slackware) openssh-5.1 to do the install automatically with a pinstall.sh script in the PET that:
this link below is the original source code if there is an update you can check here
ftp://ftp.openbsd.org/pub/OpenBSD/OpenS ... 1p1.tar.gz
well lets get this bundled completely
I will upload it to puppylinux.ca with any fixes that got added
I have to check the pet against the orginal first and see what was edited
keep this thread updated with any other edits that you make thanks for posting
P.S growler great job on the setup script I wanted to read the xdialog box it flashed too quickly just a simple ok button added so you can close the box after reading
but better atm to paste your message here to know what to expect
The sshd daemon will be started automatically on each boot of puppy.\n
For security reasons the root user cannot log on with ssh.\n The spot user has been
set up as the only user who can login with ssh.\n
Once logged on spot can su to perform any administration functions.
You can modify this behaviour by editing /usr/etc/sshd_config\n
The password for root needs to be changed so you can su to root
and spot's password also needs to be set.\n
A terminal window will open for you to set root's password.
\n then another window will open for you to enter spot's password too
UPDATED with the install script from growler
http://www.puppylinux.ca/tpp/big_bass/openssh-5.1.pet
big_bass
problems setting up ssh
I was following the instructions of Dr.Owl to setup ssh but I am finding a couple of problems. I am running puppy Firehydrant (based on 3.0) in one PC that I want to use as a server file to backup the files of two other other computers. I installed the open ssh package and generated the host keys.
When I tried to create a user this is what I'm getting. I get an error when creating a user.
#mkdir /home
# adduser -h /home/eponin eponin
passwd: unknown user eponin
# adduser -h /home/eponin eponin
adduser: eponin: group name already in use
# passwd eponin
passwd: unknown user eponin
I've tried it with several different usernames and it will always give me the error. Any ideas on what I may be doing wrong?
Thanks
When I tried to create a user this is what I'm getting. I get an error when creating a user.
#mkdir /home
# adduser -h /home/eponin eponin
passwd: unknown user eponin
# adduser -h /home/eponin eponin
adduser: eponin: group name already in use
# passwd eponin
passwd: unknown user eponin
I've tried it with several different usernames and it will always give me the error. Any ideas on what I may be doing wrong?
Thanks
If anyone is interested, I have compiled openssh-5.3p1 with gui for single startup or to add to boot (based off of the x11vnc-0.9.8 gui). You can find it here http://www.nwitechsupport.com/download/48/. The gui will request a username and a password change, create a system account and a corresponding home directory.
Edited to reflect the updated pet location - compatible with Puppy Linux 4.3.1 as the previous utilized terminal (NOP standard) instead of xterm, also fixed the missing icon issue (apparently gif format doesn't play nice with the menu)
Edited to reflect the updated pet location - compatible with Puppy Linux 4.3.1 as the previous utilized terminal (NOP standard) instead of xterm, also fixed the missing icon issue (apparently gif format doesn't play nice with the menu)
Does anyone have access to this file anymore, or is there something better out there now? The link is apparently broken.If anyone is interested, I have compiled openssh-5.3p1 with gui for single startup or to add to boot (based off of the x11vnc-0.9.8 gui). You can find it here http://www.nwitechsupport.com/download/48/.
- RetroTechGuy
- Posts: 2947
- Joined: Tue 15 Dec 2009, 17:20
- Location: USA
Many thing can be found through the Wikka site:rfxcasey wrote:Does anyone have access to this file anymore, or is there something better out there now? The link is apparently broken.If anyone is interested, I have compiled openssh-5.3p1 with gui for single startup or to add to boot (based off of the x11vnc-0.9.8 gui). You can find it here http://www.nwitechsupport.com/download/48/.
http://puppylinux.org/wikka/OpenSSH
Other:
http://puppylinux.org/wikka/CategorySecurity
[url=http://murga-linux.com/puppy/viewtopic.php?t=58615]Add swapfile[/url]
[url=http://wellminded.net63.net/]WellMinded Search[/url]
[url=http://puppylinux.us/psearch.html]PuppyLinux.US Search[/url]
[url=http://wellminded.net63.net/]WellMinded Search[/url]
[url=http://puppylinux.us/psearch.html]PuppyLinux.US Search[/url]