RE: key authentication & logging
"Herr, Stephen" <[email protected]> Fri, 7 Mar 2008 13:07:45 -0500
| Newsgroups | gmane.network.ssh.windows |
|---|---|
| Message-ID | <ED145D2FCA43ED4084179FEC4126F5C717C76793CB@CTEXCHANGE04.ad.contech-cpi.com> |
--_000_ED145D2FCA43ED4084179FEC4126F5C717C76793CBCTEXCHANGE04a_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
There is a command line option that will allow you to see what is happening
on the server side.
from the man page for sshd:
-d Debug mode. The server sends verbose debug output to the system
log, and does not put itself in the background. The server also
will not fork and will only process one connection. This option
is only intended for debugging for the server. Multiple -d op-
tions increase the debugging level. Maximum is 3.
This will display incredible amounts of information if you use it 3 times.
Stephen A. Herr
________________________________
From: [email protected] [mailto:[email protected]] On Behalf Of Fidencio Mo=
nroy
Sent: Thursday, March 06, 2008 1132
To: [email protected]
Subject: key authentication & logging
Hello guys, I've just set up an OpenSSH Server, it works perfect using pass=
word authentication; I'm trying to set up the client for automatic connecti=
ons using key authentication and I got this message at the client after the=
banner: "Permission denied (publickey,keyboard-interactive)."
Trying to diagnose it, but don't know how to enable logging on the server a=
nd where the log info is located.
I tried
SyslogFacility AUTH
LogLevel VERBOSE
at the sshd_config file but I see no change at the /var/log folder
Any idea?
Thanks in advance.
Fidencio Monroy.
________________________________
The information contained in this message may be confidential and/or propri=
etary, and legally protected from disclosure. If the reader of this message=
is not the intended recipient, or an employee or agent responsible for del=
ivering this message to the intended recipient, you are hereby notified tha=
t any retention, dissemination, distribution or copying of this communicati=
on is strictly prohibited. If you have received this communication in error=
, please notify us immediately by replying to the message and permanently d=
eleting it from your computer. Thank you, CONTECH Construction Products Inc=
.
--_000_ED145D2FCA43ED4084179FEC4126F5C717C76793CBCTEXCHANGE04a_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns=3D"http://www.w3.org/TR/REC-html40" xmlns:v=3D"urn:schemas-micr=
osoft-com:vml" xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w=
=3D"urn:schemas-microsoft-com:office:word" xmlns:m=3D"http://schemas.micros=
oft.com/office/2004/12/omml">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta content=3D"MSHTML 6.00.2900.3157" name=3D"GENERATOR">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
{page:Section1;}
-->
</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" vlink=3D"purple" link=3D"blue">
<div dir=3D"ltr" align=3D"left"><span class=3D"606085718-06032008"> </=
div>
<div dir=3D"ltr"><font face=3D"Arial" color=3D"#0000ff" size=3D"2">There is=
a command line option that will allow you to see what is happening</font><=
/div>
<div dir=3D"ltr"><span class=3D"606085718-06032008"><font face=3D"Arial" co=
lor=3D"#0000ff" size=3D"2">on the server side.</font></span></div>
<div dir=3D"ltr"><font face=3D"Arial" color=3D"#0000ff" size=3D"2">
<div><span class=3D"606085718-06032008"><font face=3D"Arial" color=3D"#0000=
ff" size=3D"2"></font></span> </div>
<div><span class=3D"606085718-06032008"><font face=3D"Arial" color=3D"#0000=
ff" size=3D"2">from the man page for sshd:</font></span></div>
<div><font face=3D"Arial"><font size=3D"2"><font color=3D"#0000ff"><span cl=
ass=3D"606085718-06032008"><font face=3D"Arial" color=3D"#0000ff" size=3D"2=
"></font></span></font></font></font> </div>
</font></div>
<div dir=3D"ltr"><font face=3D"Arial"><font color=3D"#0000ff"><font size=3D=
"2"><b>-d</b> Debug mode. The server sends verbose debug output to the syst=
em</font></font></font></div>
<div dir=3D"ltr"><font><font><font face=3D"Arial"><font color=3D"#0000ff"><=
font size=3D"2"><span class=3D"606085718-06032008">
</span>log, and does not put itself in the background. The server also</fon=
t></font></font></font></font></div>
<div dir=3D"ltr"><font><font><font><font><font face=3D"Arial"><font color=
=3D"#0000ff"><font size=3D"2"><span class=3D"606085718-06032008"> &nbs=
p;
</span>will not fork and will only process one connection. This option</fon=
t></font></font></font></font></font></font></div>
<div dir=3D"ltr"><font><font><font><font><font><font><font face=3D"Arial"><=
font color=3D"#0000ff"><font size=3D"2"><span class=3D"606085718-06032008">=
</span>is only intended for debugging for the server. Multiple <b>-d</b> op=
-</font></font></font></font></font></font></font></font></font></div>
<div dir=3D"ltr"><font><font><font><font><font><font><font><font><font face=
=3D"Arial"><font color=3D"#0000ff"><font size=3D"2"><span class=3D"60608571=
8-06032008">
</span>tions increase the debugging level. Maximum is 3.</font></font></fon=
t></font></font></font></font></font></font></font></font></div>
<div dir=3D"ltr" align=3D"left"><font face=3D"Arial" color=3D"#0000ff" size=
=3D"2"></font></span><span class=3D"606085718-06032008"><font face=3D"Arial=
" color=3D"#0000ff" size=3D"2"></font></span> </div>
<div><span class=3D"606085718-06032008"><font face=3D"Arial" color=3D"#0000=
ff" size=3D"2">This will display incredible amounts of information if you u=
se it 3 times.
</font></span></div>
<!-- Converted from text/rtf format -->
<p><font face=3D"Arial" size=3D"2">Stephen A. Herr</font><font face=3D"Time=
s New Roman"><br>
</font></p>
<div> </div>
<br>
<div class=3D"OutlookMessageHeader" lang=3D"en-us" dir=3D"ltr" align=3D"lef=
t">
<hr tabindex=3D"-1">
<font face=3D"Tahoma" size=3D"2"><b>From:</b> [email protected] [mailto:ssh=
@erdelynet.com]
<b>On Behalf Of </b>Fidencio Monroy<br>
<b>Sent:</b> Thursday, March 06, 2008 1132<br>
<b>To:</b> [email protected]<br>
<b>Subject:</b> key authentication & logging<br>
</font><br>
</div>
<div></div>
<div class=3D"Section1">
<p class=3D"MsoNormal">Hello guys, I've just set up an OpenSSH Server, it w=
orks perfect using password authentication; I'm trying to set up the client=
for automatic connections using key authentication and I got this message =
at the client after the banner: "Permission
denied (publickey,keyboard-interactive)."<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">Trying to diagnose it, but don't know how to enable =
logging on the server and where the log info is located.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">I tried<o:p></o:p></p>
<p class=3D"MsoNormal">SyslogFacility AUTH<o:p></o:p></p>
<p class=3D"MsoNormal">LogLevel VERBOSE<o:p></o:p></p>
<p class=3D"MsoNormal">at the sshd_config file but I see no change at the /=
var/log folder<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">Any idea?<o:p></o:p></p>
<p class=3D"MsoNormal">Thanks in advance.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">Fidencio Monroy.<o:p></o:p></p>
</div>
<br>
<hr>
<font face=3D"Arial" color=3D"Gray" size=3D"1">The information contained in=
this message may be confidential and/or proprietary, and legally protected=
from disclosure. If the reader of this message is not the intended recipie=
nt, or an employee or agent responsible
for delivering this message to the intended recipient, you are hereby noti=
fied that any retention, dissemination, distribution or copying of this com=
munication is strictly prohibited. If you have received this communication =
in error, please notify us immediately
by replying to the message and permanently deleting it from your computer.=
Thank you, CONTECH Construction Products Inc.<br>
</font>
</body>
</html>
--_000_ED145D2FCA43ED4084179FEC4126F5C717C76793CBCTEXCHANGE04a_--
--
List Info: http://erdelynet.com/ssh-l/
List Archives: http://erdelynet.com/archive/ssh-l/
To Unsubscribe: Mail mailto:[email protected]