- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sftp configuration
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
11-19-2008 02:10 AM
11-19-2008 02:10 AM
How to configure sftp on hp ux 11.23/11.31
ssh is installed on this system.
Thanks in advance
Yash
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2008 02:17 AM
11-19-2008 02:17 AM
Re: sftp configuration
example :-
# sftp
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2008 02:21 AM
11-19-2008 02:21 AM
Re: sftp configuration
Install secure shell.
Secure shell can be found in depot form here:
http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=T1471AA
swinstall -s $PWD/
secure shell is a port of openssh that includes ssh/scp/sftp server and client binaries.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2008 02:25 AM
11-19-2008 02:25 AM
Re: sftp configuration
# sftp test test123@HBPTC089:/tmp
Connecting to test...
ssh: test: host nor service provided, or not known
Connection closed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2008 02:31 AM
11-19-2008 02:31 AM
Re: sftp configuration
ssh is installed
# swlist grep T1471AA
# T1471AA A.04.50.021 HP-UX Secure Shell
T1471AA.Secure_Shell A.04.50.021 HP-UX Secure Shell
please guide how to proceed further.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2008 02:37 AM
11-19-2008 02:37 AM
Re: sftp configuration
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2008 02:38 AM
11-19-2008 02:38 AM
SolutionAre you able to do ssh to the server ?
if yes then you are able to do sftp also if not then
edit this file
/opt/ssh/etc/sshd_config
# override default of no subsystems
Subsystem sftp /opt/ssh/libexec/sftp-server
go to last line replace /opt/ssh/libexec/sftp-server with /usr/lbin/sftp-server
save it
inetd -c restart the net service
then try sftp
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2008 03:13 AM
11-19-2008 03:13 AM
Re: sftp configuration
sftp is not run by the inetd daemon
After configuration chanches.
/sbin/init.d/secsh stop
/sbin/init.d/secsh start
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2008 03:46 AM
11-26-2008 03:46 AM
Re: sftp configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2008 04:01 AM
11-26-2008 04:01 AM
Re: sftp configuration
ftp service is controlled by its master internet daemon inetd. So you cannot stop or start ftp alone. But you can always disable the ftp service alone on /etc/inetd.conf or in /etc/services.
Whenever a ftp request comes inetd daemon will spawn ftpd daemon to answer the request.If you want to stop and start, then you need to restart inetd daemon only.
#/sbin/init.d/inetd stop
#/sbin/init.d/inetd start
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2008 04:09 AM
11-26-2008 04:09 AM
Re: sftp configuration
How to start & stop ftp
vi /etc/inetd.conf
hash ftp line and do
inetd -c
vi /etc/inetd.conf uncomment ftp line
inetd -c
Regards,
Javed