SFTP hangs

Ok sftp connects but hangs after I enter the password manually

The ssh version is 1.0

bash-2.05$ ssh -V
SSH Version Sun_SSH_1.0, protocol versions 1.5/2.0.

When I go from solaris 9 to sftp to another server with latest proftpd version it hangs after the password.

proftpd -V
Compile-time Settings:
  Version: 1.3.4a (maint)
  Platform: LINUX [Linux 2.6.32.54-0.3-default x86_64]
  Built: Thu Feb 16 2012 10:23:20 EST
  Built With:
    configure  '--prefix=/usr/local' '--enable-openssl' '-with-modules=mod_sftp:mod_tls'

proftpd is ftps, not sftp.

I don't understand I have to use the command "sftp"

sftp is not ftp. It connects to sshd, not proftpd. More information on the ssh server you're connecting to could be useful. sftp -v, which should hopefully print more info, would be good too.

Suse Linux

                         
proftpd -V
Compile-time Settings:
  Version: 1.3.4a (maint)
  Platform: LINUX [Linux 2.6.32.54-0.3-default x86_64]
  Built: Thu Feb 16 2012 10:23:20 EST
  Built With:
    configure  '--prefix=/usr/local' '--enable-openssl' '-with-modules=mod_sftp:mod_tls'
  CFLAGS: -O2 -Wall
  LDFLAGS: -L$(top_srcdir)/lib  
  LIBS:  -lssl -lcrypto -lssl -lcrypto -L$(top_srcdir)/lib/libcap -lcap  -lssl  -lcrypto -lsupp -lcrypt -ldl  -ldl -lz
  Files:
    Configuration File:
      /usr/local/etc/proftpd.conf
    Pid File:
      /usr/local/var/proftpd.pid
    Scoreboard File:
      /usr/local/var/proftpd.scoreboard
  Features:
    - Autoshadow support
    - Controls support
    - curses support
    - Developer support
    - DSO support
    + IPv6 support
    + Largefile support
    - Lastlog support
    - Memcache support
    + ncurses support
    - NLS support
    + OpenSSL support
    - PCRE support
    - POSIX ACL support
    + Shadow file support
    + Sendfile support
    + Trace support
  Tunable Options:
    PR_TUNABLE_BUFFER_SIZE = 1024
    PR_TUNABLE_DEFAULT_RCVBUFSZ = 8192
    PR_TUNABLE_DEFAULT_SNDBUFSZ = 8192
    PR_TUNABLE_GLOBBING_MAX_MATCHES = 100000
    PR_TUNABLE_GLOBBING_MAX_RECURSION = 8
    PR_TUNABLE_HASH_TABLE_SIZE = 40
    PR_TUNABLE_NEW_POOL_SIZE = 512
    PR_TUNABLE_SCOREBOARD_BUFFER_SIZE = 80
    PR_TUNABLE_SCOREBOARD_SCRUB_TIMER = 30
    PR_TUNABLE_SELECT_TIMEOUT = 30
    PR_TUNABLE_TIMEOUTIDENT = 10
    PR_TUNABLE_TIMEOUTIDLE = 600
    PR_TUNABLE_TIMEOUTLINGER = 30
    PR_TUNABLE_TIMEOUTLOGIN = 300
    PR_TUNABLE_TIMEOUTNOXFER = 300
    PR_TUNABLE_TIMEOUTSTALLED = 3600
    PR_TUNABLE_XFER_SCOREBOARD_UPDATES = 10

I repeat.

sftp ! = ftp.

sftp == ssh.

proftpd is not an ssh server. It is an FTP server.

They are speaking different languages, like Chinese and Swahili. And trying to speak on different connections, literally.

Just as a simple example:
ssh uses port port 22, ftp uses port 21. If you connect over to proFTPd from ssh/sftp you are talking on 22, proFTPd is listening on 21.
They will never talk.

It is far more complex than that. If you HAVE to use sftp:

can you ssh to the proftpd box and login?

ssh  slufoot80@proFTPDbox

where slufoot80 should be your real username and proFTPDbox should be a real node name.

If you cannot do this, then the sysadmin has to get ssh working on the proFTPD box.