login about faq

I'm using SSH Tectia Client 6.0.5.7 on both Windows Vista and Windows 7 to copy files to and from remote Linux and UNIX (HPUX, Solaris) servers.

On both platforms I can do this without problems in the File Transfer user interface. However, the scpg3 command only works on Windows Vista. On Windows 7 I get this error:

C:\InstallResources\solaris>scpg3 david@linuxserver1:/home/david/ga/api/c/lib/liboptima.so .
david@linuxserver1's password:
error: Operation failed
error: could not open sft channel to `linuxserver1'

It's the same error whichever server I connect to. Sometimes it doesn't even ask for the password and goes straight to the error. There's nothing in the broker log.

sshg3 also fails with the following error:

sshg3 linuxserver1 
david@linuxserver1's password: 
Request exec channel error: Operation failed. 

There's no problem with the account on the server - I can connect to the same server using the same version of Tectia client through sshg3, scpg3, etc on Windows XP and Vista. It's just Windows 7. And I can connect through the Tectia Windows UI on Windows 7 - it's just the command line tools that don't work.

Also, the server is NOT running Tectia Server - it's running the standard RedHat ssh daemon. With the maximum level of logging on the most I get is this:

Feb 24 11:46:12 linuxserver1 sshd(pam_unix)[9309]: session opened for user david by (uid=0) 
Feb 24 11:46:17 linuxserver1 sshd(pam_unix)[9309]: session closed for user david 

Just an open followed by a close

Has anyone seen this elsewhere? I've tried running from a command prompt with elevated permissions. Is this something that is likely to be resolved in a newer version of Tectia?

asked Feb 23 '11 at 16:21

David%20Topham's gravatar image

David Topham
1111

edited Feb 24 '11 at 20:24

Roman's gravatar image

Roman ♦♦
7735817


Hi David,

Are you able to connect to this server from the same Windows 7 host using a terminal connection (i.e using sshg3)?

If you are still not able to login, could it be that the password for this account is expired? Check if you're able to login from another host which was working before.

If still not working, checking syslog on the server for Tectia Server audit messages could give some clue as to what is happening here.

If running an OpenSSH you can try starting the server with debug mode on another port to get more information as to why the connection is failing:

As root, on the server run the following:

sshd -p 2222 -d

This should start the OpenSSH server in debug mode on port 2222 and print verbose messages to standard error. Then try connecting to the server on that port (using verbose mode on the client) and check the server messages:

sshg3 -v david@linuxserver1#2222
link

answered Feb 23 '11 at 18:53

Roman's gravatar image

Roman ♦♦
7735817

edited Feb 24 '11 at 20:34

sshg3 fails with the following error:

sshg3 linuxserver1 david@linuxserver1's password: Request exec channel error: Operation failed.

There's no problem with the account on the server - I can connect to the same server using the same version of Tectia client through sshg3, scpg3, etc on Windows XP and Vista. It's just Windows 7. And I can connect through the Tectia Windows UI on Windows 7 - it's just the command line tools that don't work.

(Feb 24 '11 at 10:00) David Topham David%20Topham's gravatar image

Also, the server is NOT running Tectia Server - it's running the standard RedHat ssh daemon. With the maximum level of logging on the most I get is this:

Feb 24 11:46:12 linuxserver1 sshd(pam_unix)[9309]: session opened for user david by (uid=0) Feb 24 11:46:17 linuxserver1 sshd(pam_unix)[9309]: session closed for user david

Just an open followed by a close.

(Feb 24 '11 at 10:03) David Topham David%20Topham's gravatar image

This is really strange. Can you try starting the OpenSSH server in debug mode and connecting to that? (See my updated answer above) I'm still inclined to blame the server here. Are you also using the same authentication method (password) from the other windows clients? or could it be that they are using public-key?

(Feb 24 '11 at 20:36) Roman ♦♦ Roman's gravatar image

OK, so after another round of Windows 7 updates and a couple of reboots, it is now working. I have no idea what the problem was or why that has resolved it as the updates installed appear to have nothing to do with networking. Perhaps there was some network stack corruption which the update process has sorted out. Who knows?

As I cannot now reproduce the issue, I can't give you any more information. I guess it's just "one of those Windows things". If it comes back, I'll let you know.

In any case, thanks for your help and thanks for looking into the issue.

link

answered Feb 28 '11 at 13:24

David%20Topham's gravatar image

David Topham
1111

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×5
×1

Asked: Feb 23 '11 at 16:21

Seen: 3,168 times

Last updated: Mar 28 '11 at 15:22

All user contributed content licensed under the cc-by-sa license.
Powered by OSQA.