Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

sshd:cipher_encrypt: bad plaintext length 3

Subject: sshd:cipher_encrypt: bad plaintext length 3
Date: Wed, 25 May 2005 11:05:30 +0530
Hey friends,

This is my first post to this list.I am running a Fedora Core 3 server
in my domain.I have configured CVS,Samba and Mail Server on FC3
machine.

I am having some problem with ssh on my machine.Whenever I try to
start the SSHD service on FC3 it gives error  " sshd:cipher_encrypt:
bad plaintext length 337".I tried to find the solution to this problem
on google but nothing much was written about it.

The problem started after I tried to make key based access for my CVS
users .I was using Wincvs as client  for acessing CVS server.I
installed cygwin and also installed openssh for cygwin on windows Xp
pro with SP2 .The ssh protocol was working fine with password
authentication but when I tried to make it work with key based access
it failed.

I tried some commands also to trace the problem for failing of ssh on
my Fedora Core 3.

Below is what I tried to do to solve the problem

a)egrep -v '^$|^#' /etc/ssh/sshd_config

The output of this command is 

ListenAddress 0.0.0.0
SyslogFacility AUTHPRIV
LogLevel INFO
PasswordAuthentication yes
ChallengeResponseAuthentication no
GSSAPIAuthentication yes
GSSAPICleanupCredentials yes
UsePAM yes
X11Forwarding yes
Subsystem       sftp    /usr/libexec/openssh/sftp-server


b) Ouput of strace -x /etc/init.d/sshd start 

write(1, "FAILED", 6FAILED)                   = 6
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
write(1, "\33[0;39m", 7)                = 7



c) Output of bash -x /etc/init.d/sshd start

+ echo -n FAILED
FAILED+ '[' color = color ']'
+ echo -en '\033[0;39m'

I have only posted some part of the log which was shown in red color
after I issued these commmands.

On Fedora Core 3 the "openssh-3.9p1-8.0.1.i386.rpm "  version is
installed.All the rpms needed for openssh are installed like
clients,ask-pass,ask-gnome,server .

Please guide me in solving this problem.

Thanks & Regards

Ankush Grover

<Prev in Thread] Current Thread [Next in Thread>
  • sshd:cipher_encrypt: bad plaintext length 3, ankush grover <=