Sftp Subsystem could not be initialized

"Scott Thurmond" <[email protected]>
Newsgroups gmane.comp.java.sshtools.user
Message-ID <[email protected]>
Hello all.

I am using J2SSH version 0.2.7.  I get a good ssh connection but when I try
to create a sftp object I get an error.  Here is the code I am trying:

			SftpClient sftp = ssh.openSftpClient();

Here is the error messages I get:

[INFO] ConnectionProtocol - -Channel 0 is open [session]
[INFO] ConnectionProtocol - -Channel 1 is open [sftp]
[INFO] SftpSubsystemClient - -Initializing SFTP protocol version 3
[INFO] SubsystemChannel - -Starting sftp subsystem
com.sshtools.j2ssh.SshException: The SFTP Subsystem could not be initialized
	at com.sshtools.j2ssh.SshClient.openSftpChannel(SshClient.java:1262)
	at com.sshtools.j2ssh.SftpClient.<init>(SftpClient.java:96)
	at com.sshtools.j2ssh.SshClient.openSftpClient(SshClient.java:1132)
	at com.sshtools.j2ssh.SshClient.openSftpClient(SshClient.java:1115)
	at com.uw.ssh.Hooper.main(Hooper.java:39)


Could someone please help me get past this?

Regards,
-Scott




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.