1824809 Members
4326 Online
109674 Solutions
New Discussion юеВ

How to check SFTP

 
Ramana.Sv
Frequent Advisor

How to check SFTP

When is use the follwing command i got soe result this mean SFTP is installed or not? how can i check the SFTP pleae.

India # ps -ef | grep sshd
root 818 1 0 Aug 14 ? 0:00 /opt/ssh/sbin/sshd
root 10766 22350 1 13:20:14 pts/tb 0:00 grep sshd



Thank you,
Ramana
6 REPLIES 6
Joelmel Roche
Valued Contributor

Re: How to check SFTP

# swlist | grep Secure
T1471AA A.03.10.002 HP-UX Secure Shell

The sftp 3.1 client worked in the following way:

* dir produced a long listing (like the Shell ls -l).
NOTE: This is consistent with the regular ftp protocol where dir always
produces a long listing.

* ls produced a long listing (like the Shell ls -l).

The -l option (e.g. ls -l and dir -l ) is not supported.

The SSH 3.5 client was modified to work in the following way:

* dir produces a short listing (like ls).

* ls produces a short listing (like the Shell ls)

* ls -l and dir -l produce long listings (like the Shell ls -l).
NOTE: The -l option was not supported in sftp 3.1.

All subsequent releases (after 3.5) have the same behavior.
whiteknight
Honored Contributor

Re: How to check SFTP

Hi Ramana,

You can use what command:-

# what /opt/ssh/bin/sftp
/opt/ssh/bin/sftp:
$OpenBSD: progressmeter.c,v 1.24 2005/06/07 13:25:23 jaredy Exp $
$HP-UX Secure Shell: sftp.c,v A.04.30.000 2006/04/17 $
^^^^^^^^^
$OpenBSD: sftp.c,v 1.70 2006/01/31 10:19:02 djm Exp $
$OpenBSD: sftp-client.c,v 1.58 2006/01/02 01:20:31 djm Exp $
$OpenBSD: sftp-common.c,v 1.10 2003/11/10 16:23:41 jakob Exp $
$OpenBSD: sftp-glob.c,v 1.15 2004/02/17 07:17:29 djm Exp $
$OpenBSD: bufaux.c,v 1.37 2005/11/05 05:01:15 djm Exp $
$OpenBSD: buffer.c,v 1.23 2005/03/14 11:46:56 markus Exp $
$OpenBSD: fatal.c,v 1.2 2003/09/23 20:17:11 markus Exp $
$OpenBSD: log.c,v 1.29 2003/09/23 20:17:11 markus Exp $
$OpenBSD: xmalloc.c,v 1.16 2001/07/23 18:21:46 stevesk Exp $
$OpenBSD: atomicio.c,v 1.13 2005/05/24 17:32:43 avsm Exp $
$OpenBSD: misc.c,v 1.42 2006/01/31 10:19:02 djm Exp $
$OpenBSD: cleanup.c,v 1.1 2003/09/23 20:17:11 markus Exp $
$Id: bsd-misc.c,v 1.28 2005/11/01 22:07:31 dtucker Exp $
$Id: bsd-snprintf.c,v 1.11 2005/12/17 11:32:04 dtucker Exp $
$OpenSSL A.00.09.07i $

WK
please assign points
Problem never ends, you must know how to fix it
Steven E. Protter
Exalted Contributor

Re: How to check SFTP

Shalom

swlist -l product | grep -i secure

sftp -vvv hostname

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ramana.Sv
Frequent Advisor

Re: How to check SFTP

Hi, Shalom
I used the follwing command
"sftp -vvv hostname"
Example:-> likethis
sftp -vvvv 10.1.0.62
i some messge "Are you sure you want to continue connecting (yes/no)?"
i enter YES
then i got big messge i the last row messge is like this and connect closed WHY IS CONNECTION CLOSED?.

"Permission denied (publickey).
Connection closed"
---
is there any problem with configuration?.
Pls go through attachment.

waiting for u r reply
Thank you.
Ramana
Ramana.Sv
Frequent Advisor

Re: How to check SFTP

Hi, Shalom
I used the follwing command
"sftp -vvv hostname"
Example:-> likethis
sftp -vvvv 10.1.0.62
i some messge "Are you sure you want to continue connecting (yes/no)?"
i enter YES
then i got big messge in the last row messge is like this and connect closed WHY IS CONNECTION CLOSED?.

"Permission denied (publickey).
Connection closed"
---
is there any problem with configuration?.
Pls go through attachment.

waiting for u r reply
Thank you.
Ramana
Asif Sharif
Honored Contributor

Re: How to check SFTP

HI Ramana,

https://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=992562

Regards,
Asif Sharif
Regards,
Asif Sharif