SFTP and SCP don't work in MT

arseth2 arseth2@imap.online.no
Tue, 1 Oct 2002 13:31:22 +0200


>===== Original Message From "Andersson, Mats" <mats.andersson@appgate.com> 
=====
>On Mon, 30 Sep 2002, arseth2 wrote:
>> I am running MT 2.2 from a PC against a Solaris server through a SSH
>> login server. When I start SCP or SFTP in MT the "Remote System" column
>> is empty. If I set up a forward on port 22 I can run SFTP and SCP with
>> an external scp or sftp program. Why doesn't the built in SCP and SFTP
>> in MT work?
>
>Sounds strange, if SCP doesn't work it might be due to either that the
>remote server doesn't have scp1 installed (is it a OpenSSH server? in that
>case it should) OR that the remote command-line that is used to receive a
>directory listing (i.e. by default 'ls -A -L -F -1') doesn't produce
>output as expected.

'ls -A -L -F -1' produces an output like this:
#.bashrc#
.Xauthority
.backup/
.bash_history
...
Test/
core
...etc..

When I run MT in debug mode I get the following messages when I try to run scp 
in MT:

** (2601) SSH2StreamChannel : 'starting ch. #1 (session) transmitter'
** (2601) SSH2Channel : 'open confirmation, ch. #1, init-winsz = 0, max-pktsz 
=
8192'
** (2601) SSH2StreamChannel : 'starting ch. #1 (session) receiver'
** (2641) SSH2SessionChannel : 'session (ch. #1) stderr : Pseudo-terminal will 
n
ot be allocated because stdin is not a terminal.
'
** (3533) SSH2SessionChannel : 'session (ch. #1) stderr : Permission denied, 
ple
ase try again.'
** (3533) SSH2SessionChannel : 'session (ch. #1) stderr :
'
** (3543) SSH2SessionChannel : 'session (ch. #1) stderr : Permission denied, 
ple
ase try again.'
** (3543) SSH2SessionChannel : 'session (ch. #1) stderr :
'
** (3543) SSH2SessionChannel : 'session (ch. #1) stderr : Permission denied 
(pub
lickey,password,keyboard-interactive).'
** (3543) SSH2SessionChannel : 'session (ch. #1) stderr :
'
** (3543) SSH2SessionChannel : 'session (ch. #1) exit with status 255'
** (3553) SSH2Channel : 'closing ch. #1 (session)'
** (3553) SSH2StreamChannel : 'exiting ch. #1 (session) receiver, 0 bytes rx'
** (3553) SSH2StreamChannel : 'exiting ch. #1 (session) transmitter, 65 bytes 
tx
'

> With SFTP it can't be the same problem since it's
>entirely different, since you say that both scp and sftp works when used
>from other programs I have no idea what could be wrong.

SFTP gives the following error message:

Could not start sftp session: null

Debug-info:

** (5896) SSH2Channel : 'open confirmation, ch. #1, init-winsz = 0, max-pktsz 
=
8192'
** (5896) SSH2StreamChannel : 'starting ch. #1 (session) transmitter'
** (5896) SSH2StreamChannel : 'starting ch. #1 (session) receiver'
** (8019) SSH2SessionChannel : 'session (ch. #1) exit with status 255'
** (8019) SSH2Channel : 'closing ch. #1 (session)'
** (8019) SSH2StreamChannel : 'exiting ch. #1 (session) receiver, 0 bytes rx'
** (8019) SSH2StreamChannel : 'exiting ch. #1 (session) transmitter, 9 bytes 
tx'

>> PS: There were some roumurs that AppGate is close to bankruptcy. How is
>> it going? What will happen with MT in this case?
>
>AppGate is bankrupt already and it has been sold to a company called CR&T.
>I have no idea what will happen to MindTerm, contact them to know more (I
>think there is info on www.appgate.com about all this).

I don't get any respone from website www.appgate.com, do you have a link to 
CR&T?

Arne