Hi all,

I experience a terible error with ssh-1.2.27.
I can log in and run shell to another machine by 'ssh A -p 11111',
however I cannot run any commands like 'ssh -n B xterm -p 11111'
or 'ssh B ls -p 11111' including X commands (A or B is machine name).
I'm using user permission(not root) to install ssh
and my own port number 11111.
I put all the necessary information below I believe.
If you need it more, just tell me.


[configuration in compile]
I compiled ssh by this configuration:
 ./configure  --prefix=/home/kuroda --with-x --with-etcdir=/home/kuroda/etc 
--with-rsh=/usr/ucb/rsh '--program-transform-name=s/^s/r/' --x-libraries=/usr/lib 
--x-includes=/usr/include

[successful script to try login from A to B]
(kuroda@B:~/Source/ssh-1.2.27)% ssh A -p 11111
Enter passphrase for RSA key 'kuroda@B': 
Last login: Fri Dec  3 21:02:08 1999 from B
SunOS Release 4.1.4_DBE1.4 (FI_SUN4M_DBE_ODS_NONE_MD) #1: Thu Sep 10 22:49:58 JST 1998
Cloned by 'reclone-ws' Thu Sep 10 21:30:35 1998
SunOS Y2K patches (1.1) installed 11.12.1998
No mail.
B% logout

[error script to try run commands in B from A]
(kuroda@B:~/Source/ssh-1.2.27)% ssh A ls -p 11111
Secure connection to A refused; reverting to insecure method.
Using rsh.  WARNING: Connection will not be encrypted.
Permission denied.

(kuroda@B:~/Source/ssh-1.2.27)% ssh -n A xterm -p 11111
Secure connection to A refused; reverting to insecure method.
Using rsh.  WARNING: Connection will not be encrypted.
Permission denied.

[sshd's debug log at A side]
Ssh is running and prints debug info like:
A% sshd -d -f /home/kuroda/etc/sshd_config -p 11111
debug: sshd version 1.2.27 [sparc-sun-sunos4.1.4_DB]
debug: Initializing random number generator; seed file /home/kuroda/etc/ssh_random_seed
log: Server listening on port 11111.
log: Generating 768 bit RSA key.
Generating p:  ..........++ (distance 154)
Generating q:  .........................................++ (distance 638)
Computing the keys...
Testing the keys...
Key generation complete.
log: RSA key generation complete.
[...it stops]


[sshd configuration file]
A:/home/kuroda/etc>more sshd_config
# This is ssh server systemwide configuration file.

Port 11111
ListenAddress 0.0.0.0
HostKey /home/kuroda/etc/ssh_host_key
RandomSeed /home/kuroda/etc/ssh_random_seed
ServerKeyBits 768
LoginGraceTime 600
KeyRegenerationInterval 3600
PermitRootLogin yes
IgnoreRhosts no
StrictModes yes
QuietMode no
X11Forwarding yes
X11DisplayOffset 10
FascistLogging no
PrintMotd yes
KeepAlive yes
SyslogFacility DAEMON
RhostsAuthentication no
RhostsRSAAuthentication yes
RSAAuthentication yes
PasswordAuthentication yes
PermitEmptyPasswords yes
UseLogin no
# CheckMail no
# PidFile /u/zappa/.ssh/pid
# AllowHosts *.our.com friend.other.com
# DenyHosts lowsecurity.theirs.com *.evil.org evil.org
# Umask 022
# SilentDeny yes

[ssh configuration file]
and ssh configuration file is default's.
and there's no syslogs written.

I appreciate very much for your any help.
Thank you.

Reply via email to