HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SFTP don't works,but SSH yes.
Operating System - HP-UX
1832087
Members
2781
Online
110037
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2008 09:23 AM
03-16-2008 09:23 AM
SFTP don't works,but SSH yes.
Dear Firends my names is francesco i write from Italy,sorry for my spaghetti English :)
I have a old Workstation Graphic HP Visualize C 3000.
I have installed the HP-UX B.11.11,but when i download this version of secure shell iT1471AA_A.04.70.009_HP-UX_B.11.11_32_64.depot, i install correctly, de ssh2 login work correctly, but the sftp don't work i have view another thread,but the problem don't resolve.
First i have try to connect with a filezilla this print this message:
Stato: Connessione a 192.168.1.103:22 in corso...
Risposta: fzSftp started
Comando: open "root@192.168.1.103" 22
Comando: Pass: **********
Errore: Server unexpectedly closed network connection.
Second i try to connect in local sftp from secure crt, but another error message.
Value of TERM has been set to "vt100".
WARNING: YOU ARE SUPERUSER !!
# sftp root@192.168.1.103
Connecting to 192.168.1.103...
The authenticity of host '192.168.1.103 (192.168.1.103)' can't be established.
RSA key fingerprint is 09:1b:28:4d:3c:91:ab:24:a6:25:37:26:e9:02:86:cd.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.1.103' (RSA) to the list of known hosts.
Password:
Connection to 192.168.1.103 closed by remote host.
Connection closed
third i try to login with another user
but the result is equal.
in attachment my sshd_config_file.
Please help me
see you have a good time.
I have a old Workstation Graphic HP Visualize C 3000.
I have installed the HP-UX B.11.11,but when i download this version of secure shell iT1471AA_A.04.70.009_HP-UX_B.11.11_32_64.depot, i install correctly, de ssh2 login work correctly, but the sftp don't work i have view another thread,but the problem don't resolve.
First i have try to connect with a filezilla this print this message:
Stato: Connessione a 192.168.1.103:22 in corso...
Risposta: fzSftp started
Comando: open "root@192.168.1.103" 22
Comando: Pass: **********
Errore: Server unexpectedly closed network connection.
Second i try to connect in local sftp from secure crt, but another error message.
Value of TERM has been set to "vt100".
WARNING: YOU ARE SUPERUSER !!
# sftp root@192.168.1.103
Connecting to 192.168.1.103...
The authenticity of host '192.168.1.103 (192.168.1.103)' can't be established.
RSA key fingerprint is 09:1b:28:4d:3c:91:ab:24:a6:25:37:26:e9:02:86:cd.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.1.103' (RSA) to the list of known hosts.
Password:
Connection to 192.168.1.103 closed by remote host.
Connection closed
third i try to login with another user
but the result is equal.
in attachment my sshd_config_file.
Please help me
see you have a good time.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2008 07:25 PM
03-16-2008 07:25 PM
Re: SFTP don't works,but SSH yes.
Ciao caro amico,
Several things that might help in
checking the problem:
a) Enable debug mode on the server:
# /opt/ssh/sbin/sshd -ddd -e 1>/tmp/sshd.debug 2>&1 &
b) Interpret the debug messages:
http://docs.hp.com/en/5991-7493/ch07s04.html
c) Check /var/adm/syslog/syslog.log:
# grep -i -e ssh -e pam /var/adm/syslog/syslog.log
d) Redirect sshd debug messages to a file.
In /etc/syslog.conf add:
local7.debug /var/adm/syslog/sshd.log
*.info;mail.none;local7.none /var/adm/syslog/syslog.log
and restart syslogd.
NOTE: Use TABs between facilities and
log file names!
Modify the two following variables in
sshd_config:
SyslogFacility LOCAL7
LogLevel DEBUG3
and restart sshd.
e) Use tusc(1).
For the client:
# tusc -Eeaf -p -v -rall -wall -vall -T '' -o /tmp/ssh_tusc.txt ssh -vvv myhost
For the server, start the sshd daemon in
debug mode:
# /usr/sbin/sshd -ddd -e &
# ps -ef|grep sshd
# tusc -Eeaf -p -v -rall -wall -vall -T '' -o /tmp/sshd_tusc.txt
f) Do you use TCP wrappers (/etc/hosts.allow
and /etc/hosts.deny)?
g) Do you run SSH via /etc/inetd.conf
and possibly /var/adm.inetd.sec?
Cheers,
VK2COT
Several things that might help in
checking the problem:
a) Enable debug mode on the server:
# /opt/ssh/sbin/sshd -ddd -e 1>/tmp/sshd.debug 2>&1 &
b) Interpret the debug messages:
http://docs.hp.com/en/5991-7493/ch07s04.html
c) Check /var/adm/syslog/syslog.log:
# grep -i -e ssh -e pam /var/adm/syslog/syslog.log
d) Redirect sshd debug messages to a file.
In /etc/syslog.conf add:
local7.debug /var/adm/syslog/sshd.log
*.info;mail.none;local7.none /var/adm/syslog/syslog.log
and restart syslogd.
NOTE: Use TABs between facilities and
log file names!
Modify the two following variables in
sshd_config:
SyslogFacility LOCAL7
LogLevel DEBUG3
and restart sshd.
e) Use tusc(1).
For the client:
# tusc -Eeaf -p -v -rall -wall -vall -T '' -o /tmp/ssh_tusc.txt ssh -vvv myhost
For the server, start the sshd daemon in
debug mode:
# /usr/sbin/sshd -ddd -e &
# ps -ef|grep sshd
# tusc -Eeaf -p -v -rall -wall -vall -T '' -o /tmp/sshd_tusc.txt
f) Do you use TCP wrappers (/etc/hosts.allow
and /etc/hosts.deny)?
g) Do you run SSH via /etc/inetd.conf
and possibly /var/adm.inetd.sec?
Cheers,
VK2COT
VK2COT - Dusan Baljevic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2008 07:27 PM
03-16-2008 07:27 PM
Re: SFTP don't works,but SSH yes.
Ahh,
forgot one more thing:
h) Does /opt/ssh/libexec/sftp-server exist
and what are its ownership and permissions?
# ll /opt/ssh/libexec/sftp-server
VK2COT
forgot one more thing:
h) Does /opt/ssh/libexec/sftp-server exist
and what are its ownership and permissions?
# ll /opt/ssh/libexec/sftp-server
VK2COT
VK2COT - Dusan Baljevic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2008 07:39 PM
03-16-2008 07:39 PM
Re: SFTP don't works,but SSH yes.
And one more idea:
i) sftp and/or cp may fail at connection time
if you have shell initialization (.profile,
.bashrc, .cshrc, and so on) which produces
output for non-interactive sessions. This
output confuses the sftp/scp client. You can
verify if your shell is doing this by
executing:
# ssh root@192.168.1.103 /usr/bin/true
If the above command produces any output, then
you need to modify your shell initialization.
i) sftp and/or cp may fail at connection time
if you have shell initialization (.profile,
.bashrc, .cshrc, and so on) which produces
output for non-interactive sessions. This
output confuses the sftp/scp client. You can
verify if your shell is doing this by
executing:
# ssh root@192.168.1.103 /usr/bin/true
If the above command produces any output, then
you need to modify your shell initialization.
VK2COT - Dusan Baljevic
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP