[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ssh



Carlo, Jeff:
Thanks. The two machines recognize one another through
the internal IPs of the router. Now I can submit the
computation from the i386 machine to either my other
machine amd64, internal to the router, or to any
supercomputer center where I have an account along an
ssh connection. Surprisingly, after an initial period
where the i386 took any one of the two internal IP
addresses (indipendently which machine was started
first), now the two machines behave as if they had a
static address (it is dhcp). I have not investigated
the Zyxel router, it is as if it had a memory or a
register, or he likes me.

Cheers
francesco

--- jeffd <fixedored@gmail.com> wrote:

> hm,  so say I have 2 machines A and B.  My desktop
> will be A.
> on A do:
> ssh-keygen -t dsa 
> it will ask you for a password, you dont have to put
> one in, but it 
> would be more secure to do so, but for this example
> just hit enter.
> then
> scp ~/.ssh/id.dsa.pub  ~/A.pub.key
> ssh B
> on B:
> mkdir .ssh
> cat ~/A.pub.key >> .ssh/authorized_keys
> chmod -R 600 ~/.ssh
> 
> now check /etc/ssh/sshd_config on B, make sure you
> have:
> RSAAuthentication yes
> PubkeyAuthentication yes
> PermitEmptyPasswords no
> ChallengeResponseAuthentication no
> PermitRootLogin yes (once you get ssh keys working
> you can change the 
> yes to without-password, to only allow connections
> with keys)
> 
> then /etc/init.d/sshd restart
> 
> back on A you should be able to ssh B and not be
> asked for a password
> 
> 
> ~
> Jeff
> 
> 
> Francesco Pietra wrote:
> > Hi Jeff:
> >
> > I must have done something wrong because I already
> > tried unsuccessfully what you suggest.
> >
> > I must say that on the two machines (Athlon i386,
> > where the graphical interface in my HOME) and
> > multi-dual-opteron (where the QM program in my
> HOME)
> > both at the same router and with the need to have
> > access to internet from the i386, I am both root
> and
> > user with the same username and passwords. May be
> that
> > confusing the system?
> >
> > If I change username with "chfn" what about the
> many
> > env variables?
> >
> > Thanks
> > francesco
> >
> > --- jeffd <fixedored@gmail.com> wrote:
> >
> >   
> >> Francesco Pietra wrote:
> >>     
> >>> Hi All:
> >>> Is anyone aware of a friendly openssh (including
> >>> server) that installs on Debian etch and allows
> >>> interactive connections secured by pubkeys?
> >>>
> >>> I installed ssh and openssh-server from debian.
> OK
> >>> using password, though I met problems in
> >>>       
> >> configuring
> >>     
> >>> for pubkeys (ssd_config comes with "UsePAM yes"
> >>> "PermitRootLogin yes" #AuthorizedKeysFile %h/
> >>> .ssh/authorized_keys" (does %h refer to every
> >>>       
> >> user?).
> >>     
> >>> Tired with trial-and-error I hope to find an
> easir
> >>> groung elsewhere.
> >>>
> >>> Not anyone is a professional administrator,
> though
> >>> many of us have to get the OS running. A bit
> more
> >>> comments of the config file would help.
> >>>
> >>> Thanks
> >>>
> >>> francesco pietra
> >>>
> >>>
> >>>  
> >>>
> >>>       
> >
>
____________________________________________________________________________________
> >   
> >>> Be a PS3 game guru.
> >>> Get your game face on with the latest PS3 news
> and
> >>>       
> >> previews at Yahoo! Games.
> >>     
> >>
> http://videogames.yahoo.com/platform?platform=120121
> >>     
> >>>   
> >>>       
> >> I think what you are looking for is :
> >> PubkeyAuthentication yes
> >>
> >> then  put your public key on the remote machine
> in 
> >> ~/.ssh/authorized_keys . also make sure that file
> is
> >> chmod'd to 600
> >>
> >> hth
> >> jeff
> >>
> >>
> >>
> >>     
> >
> >
> >
> >  
> >
>
____________________________________________________________________________________
> > Sucker-punch spam with award-winning protection. 
> > Try the free Yahoo! Mail Beta.
> >
>
http://advision.webevents.yahoo.com/mailbeta/features_spam.html
> >
> >   
> 
> 



 
____________________________________________________________________________________
Bored stiff? Loosen up... 
Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front



Reply to: