Re: ssh-keygen between SuSE and FreeBSD

2008-08-14 Thread Pollywog
On Thursday 14 August 2008 15:29:27 Gavin Spomer wrote:
  Lyndon Nerenberg [EMAIL PROTECTED] 08/13/08 7:10 PM 
 
  You need to start an ssh-agent on the machine you're connecting from and
  populate it with your keychain:
 
  eval `ssh-agent`
  ssh-add
 
  Add the above to your .profile, or check the Linux PAM implementation to
  see if it has ssh session support.
 
  --lyndon

 Thanks.

 That made it possible for me to ssh from SuSE server to FreeBSD server, but
 now when I ssh from my Mac to SuSE server it wants a password now:

Enter passphrase for /home/myusername/.ssh/id_rsa:

 I read the FreeBSD handbook section 14.11.7 ssh-agent and ssh-add and
 don't have anything much more intelligent to say but I don't understand.
 ;)

 Questions:

1. If the ssh-agent and ssh-add utilities load the keys into memory,
 they'd be wiped if I rebooted?

Yes, rebooting will take the keys out of memory and you would need to 
use 'ssh-add' on the command line to put the keys and passphrase in memory.
The 'ssh-add -D' command removes the keys when you are done but are not 
logging out.


2. Is #1 why I'd add it to my ~/.profile?

This is so that ssh-agent is set when you login at a console.  I don't know 
about Mac but some Linux distributions have session scripts so that this is 
done for you when you start a KDE session.  I don't believe ~/.profile will 
be read unless you login at a console or xterm or similar.

When you add stuff to your ~/.profile, I recommend doing it on a separate 
account first.  I once added those lines on a Linux system and was locked out 
on that account but I was able to get in with another account, su to root, 
and remove the lines in the affected user ~/.profile and then I was no longer 
locked out.

3. How am I able to ssh (without a password) from my Mac to SuSE server
 or Mac to FreeBSD server when I don't have eval `ssh-agent` and ssh-add
 in my .profile on my Mac?

You can do 'ssh-agent bash' followed by 'ssh-add' but this will not work until 
you have generated your SSH keys with:

ssh-keygen -t rsa -b 1024
or
ssh-keygen -t dsa -b 1024

or similar.  Until you do that, you have to use your login password and cannot 
use a passphrase since you have not set one.  Setting the passphrase is part 
of the process of generating your SSH keys.

BTW I do not know if you are using the keychain utility.  Be very careful 
with it.  It can be confusing.  I found it inconvenient to use and no longer 
use it.

There are some fine SSH tutorials online, I believe OnLamp has some.  Just 
make sure they are not more than about 3 yrs old.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sshd_config question

2008-06-29 Thread Pollywog
On Sunday 29 June 2008 23:55:25 Brandon S. Allbery KF8NH wrote:
 On 2008 Jun 29, at 19:22, Jeff Richards wrote:
  After setting those options I kill -HUP the sshd  process.

 I thought sshd ignored SIGHUP and you had to actually stop and restart
 it to pick up configuration changes.

IIRC, I use SIGHUP in OpenBSD but in FreeBSD, I use /etc/rc.d/sshd restart

I also have 

PubkeyAuthentication yes 

in my sshd_config but perhaps this is the default, I am unsure.
In some situations, I also need to edit ~/.ssh/config to allow the connection 
and add 'PubkeyAuthentication yes' (on the host initiating the connection).

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Java binaries for FreeBSD 7

2008-06-06 Thread Pollywog
On Friday 06 June 2008 19:39:59 Stefan Lambrev wrote:
 Greetings,

  From http://www.freebsdfoundation.org/
 We are working on providing Java 1.6 support for FreeBSD 6.3 and 7.0.
 The binaries for 7.0 will be available by June 1.

 Any news? :) Where I can read more?

 P.S. I understand that this is not the mailing list to ask, but I can't
 find better.

Perhaps here

http://www.freebsd.org/java/
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: today's build is causing errors for me

2008-05-16 Thread Pollywog
On Friday 16 May 2008 06:17:24 Jeremy Chadwick wrote:


 Additionally, mergemaster isn't a confusing mess.  If anything, it's one
 of the most simple tools there is for managing /etc.  The part you
 probably find confusing, which is the same part I did when I started
 using it, is the side-by-side interactive diff.  It's very easy to use;
 r means use the text shown on the right, and l means use the text
 shown on the left.

That is certainly the part that confused me until I referred to the Absolute 
FreeBSD book.


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: today's build is causing errors for me

2008-05-16 Thread Pollywog
On Friday 16 May 2008 06:04:34 Rob Lytle wrote:
 Hi Jeremy,

 I used Mergemaster.  Thats what I mean't when I said that I carefully
 merged /usr/src/etc/ with /etc.  But like I said, no files were
 replaced that contained my own configuration, e.g. group.  I will say
 this- that I have always considered Mergemaster a confusing mess,
 despite the dogma on the lists.  I have been running FreeBSD and
 installing it since 1998, so I have some experience- but this is new
 behavior beyond my previous experiences.

I have only been using FreeBSD for almost one year and I am still a little 
confused by Mergemaster, but what helped me with it was the book Absolute 
FreeBSD.  I would not have been able to deal with it without the book.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: X11 extremely slow while compiling other things

2007-10-22 Thread Pollywog

 Yi Wang wrote:
  Hi,
 
  My box is running 7.0-PREREALEASE.
 
  When I run more than two building tasks, X11 became extremely slow.
  The mouse pointer can also hardly move.
 
  Running more than two building tasks under 6-stable does not introduce
  the issues.
 
  Does any one know how to solve it?

Have you tried the renice command?

man renice
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


fusefs-encfs now compiles in 6.2

2007-08-17 Thread Pollywog
Someone suggested I try to compile encfs again and since I updated my system 
two days ago, I tried again and fusefs-encfs now compiles.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fusefs-encfs now compiles in 6.2

2007-08-17 Thread Pollywog
On Friday 17 August 2007 16:00:15 Pollywog wrote:
 Someone suggested I try to compile encfs again and since I updated my
 system two days ago, I tried again and fusefs-encfs now compiles.

Apologies, I clicked on the wrong link, this should have gone to the 
freebsd-questions list.

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]