Re: ssh problems
- From: Francesco Pietra <chiendarret@xxxxxxxxx>
- Date: Fri, 16 Mar 2007 10:09:44 -0700 (PDT)
It worked beautifully for a week. At a new boot today
the 32bit machine had taken the former IP address of
the 64bit machine, and viceversa.
$ slogin "IP address of the other machine"
reported
port 22: time out, while internet navigation with
Firefox browser was OK.
I recognize while writing that before this failure I
had changed the "Epiphany" browser of Gnome to
"iceweasel = firefox" because Epiphany does not
provide remote control (for the online help from
NWChem); though, that seems to me immaterial.
A system maintainer suggested to change the eth#
connections of the two machines (Desktopp,
Administration, Networking) from DHCP to Static,
attributing one of the two IP internnal addresses (on
the hypothesis that those were internal addresses to
the router). While doing so, I had to accept
SubnetMask 255.255.255.0 (which was originally empty),
otherwise no OK. That ended in "Network unreachable).
Well, I could delete all shh configuration and keys
and do that again, though for how long?
Any suggestion to stabilize the connection?
Thanks
francesco pietra
--- Carlo Segre <segre@xxxxxxx> wrote:
____________________________________________________________________________________
Glad it is working for you now,
ciao
Carlo
On Sat, 10 Mar 2007, Francesco Pietra wrote:
Carlo, Jeff:through
Thanks. The two machines recognize one another
the internal IPs of the router. Now I can submitthe
computation from the i386 machine to either myother
machine amd64, internal to the router, or to anyan
supercomputer center where I have an account along
ssh connection. Surprisingly, after an initialperiod
where the i386 took any one of the two internal IPa
addresses (indipendently which machine was started
first), now the two machines behave as if they had
static address (it is dhcp). I have notinvestigated
the Zyxel router, it is as if it had a memory or adesktop
register, or he likes me.
Cheers
francesco
--- jeffd <fixedored@xxxxxxxxx> wrote:
hm, so say I have 2 machines A and B. My
putwill be A.
on A do:
ssh-keygen -t dsa
it will ask you for a password, you dont have to
exampleone in, but it
would be more secure to do so, but for this
youjust 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
workinghave:
RSAAuthentication yes
PubkeyAuthentication yes
PermitEmptyPasswords no
ChallengeResponseAuthentication no
PermitRootLogin yes (once you get ssh keys
connectionsyou can change the
yes to without-password, to only allow
alreadywith 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
i386,tried unsuccessfully what you suggest.
I must say that on the two machines (Athlon
havewhere the graphical interface in my HOME) andHOME)
multi-dual-opteron (where the QM program in my
both at the same router and with the need to
beaccess to internet from the i386, I am both rootand
user with the same username and passwords. May
(includingthat
confusing the system?many
If I change username with "chfn" what about the
env variables?
Thanks
francesco
--- jeffd <fixedored@xxxxxxxxx> wrote:
Francesco Pietra wrote:
Hi All:
Is anyone aware of a friendly openssh
allowsserver) that installs on Debian etch and
debian.interactive connections secured by pubkeys?
I installed ssh and openssh-server from
yes"OK
using password, though I met problems inconfiguring
for pubkeys (ssd_config comes with "UsePAM
easir"PermitRootLogin yes" #AuthorizedKeysFile %h/user?).
.ssh/authorized_keys" (does %h refer to every
Tired with trial-and-error I hope to find an
thoughgroung elsewhere.
Not anyone is a professional administrator,
moremany of us have to get the OS running. A bit
comments of the config file would help.
Thanks
francesco pietra
____________________________________________________________________________________http://videogames.yahoo.com/platform?platform=120121and
Be a PS3 game guru.
Get your game face on with the latest PS3 news
previews at Yahoo! Games.
filein
I think what you are looking for is :
PubkeyAuthentication yes
then put your public key on the remote machine
~/.ssh/authorized_keys . also make sure that
is
chmod'd to 600
hth
jeff
http://advision.webevents.yahoo.com/mailbeta/features_spam.htmlSucker-punch spam with award-winning protection.
Try the free Yahoo! Mail Beta.
____________________________________________________________________________________
Bored stiff? Loosen up...Yahoo! Games.
Download and play hundreds of games for free on
http://games.yahoo.com/games/front
--
Carlo U. Segre -- Professor of Physics
Associate Dean for Special Projects, Graduate
College
Illinois Institute of Technology
Voice: 312.567.3498 Fax: 312.567.3494
segre@xxxxxxx http://www.iit.edu/~segre
segre@xxxxxxxxxx
____________________________________________________________________________________
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
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- Follow-Ups:
- Re: ssh problems
- From: Kapil Hari Paranjape
- Re: ssh problems
- From: Kapil Hari Paranjape
- Re: ssh problems
- Prev by Date: Re: how to print unicode encoded file to ps
- Next by Date: Re: OT: sponge burning!
- Previous by thread: cheap LCD display
- Next by thread: Re: ssh problems
- Index(es):
Relevant Pages
|