The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 SSH2 & portsentry
Author: Joe Makanak 
Date:   02-11-00 19:02



Hello,

I have two questions to ask:

1) How do I install SSH2 ? I install it from the ports collection, but I can never
find the files I need to configure, and how do I generate a key? What apps can I
use to connect to this? Also, how can I start and stop the sshd2 at boot? do I just add sshd2_enable="NO" in rc.conf? Help! (totally new at SSH)

2) How do I get portmap (or any app really) to start during system initialization?

** Thanks...
** Joe Makanak

Reply To This Message
 
 RE: SSH2 & portsentry
Author: Joe Makanak 
Date:   02-11-00 19:04


Did I say portmap? I meant portsentry.

Sorry
- Joe M

Reply To This Message
 
 RE: SSH2 & portsentry
Author: el_kab0ng 
Date:   02-11-00 23:45

Personally I'd recommend SSH1 or OpenSSH to the commercially grade SSH2. As for portsentry, this should be in the ports collection. I use both to great effect. =].

I do believe you can get ssh1 from http://www.ssh.org/download.html

As for the OpenSSH, I do believe that to be a port in the ports collection.

el_

Reply To This Message
 
 RE: SSH2 & portsentry
Author: Don Brearley 
Date:   05-11-00 00:53


Joe,

here is how to do it, however this method is for FreeBSD 4.1-RELEASE
I dont know if it will work on any other versions. let me know.

Portsentry:

Write a short script to execute portsentry and put it in your /usr/local/etc/rc.d/ directory and give it appropriate permissions. (chmod 655 porsentry.sh)

Heres an example: (which probably sucks)

#!/bin/sh
portsentry -tcp


done.


As for SSH2.. go and download it from ftp.ssh.org and then:

# gzip -dc ssh-2.x.x.tar.gz | tar -xvf -
# cd ssh-2.x.x
# ./configure
# make
# make install

If you want it to start, follow essentially the same info that I gave you for getting portsentry to start at boot time.

This information was easily obtained from www.ssh.org - yeah, who would have
thought to check the creators website eh?

Hope it helps, questions? leave em here and i'll reply.

- Don Brearley



Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org