Pragma Systems Technical Forum

*trial version of SSH server* SFTP unlicensed version

https://forums.pragmasys.com/Topic314.aspx

By fq4tqw - 9/18/2015 3:21:16 AM

Wonder why I'm getting this message, any tips on where to start TS would be greatly appreciated. This are the 2 types of messages I'm getting without making any changes to the sftp config..., commands are being run on the server, using the cmd windows prompt. the errors are either ssh session disconnected ( but really it's just the sftp, the ssh connection stays open ) or it just stays hung like on the second example. Trial version is not expired.

1)

C:\Documents and Settings\Guest\SHELL>sftp localhost                           

Unlicensed Version.
Connecting to localhost...
ssh_exchange_identification: Connection closed by remote host
Connection closed
SSH session disconnected

2)

C:\Documents and Settings\Guest\SHELL>sftp localhost
Unlicensed Version.
Connecting to localhost...
^C
C:\Documents and Settings\Guest\SHELL>
By bethredd - 9/18/2015 3:33:54 AM

Hello,

The message is from our console sftp client. If it has been installed on a system without a registration key, it will display the message "Unlicensed version" and run. When you enter a registration key, the message will go away.

If you have a registration key for FortressSSH Server, you can get rid of the message by entering the key at a command prompt opened with elevated privileges, by using the "run as Administrator" option, and entering the command:

pragmareg CLIENTSUITE registration_key

By fq4tqw - 9/18/2015 4:09:22 AM

Thanks for your prompt response!

I also wanted to know why the connection says connecting and then closes the session:

ssh_exchange_identification: Connection closed by remote host

the sftp session stays either hung or it just closes as in the previews examples..., as far as I understood, what you explained has only to do with the unlicensed fact and how to get rid of it once I have a valid registration key.
By fq4tqw - 9/21/2015 4:52:15 AM

any input on this last question?, error keeps coming up and I have no clue on what is causing this. Thanks

Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.

C:\Documents and Settings\usxavargas>sftp localhost
Unlicensed Version.
Connecting to localhost...
ssh_exchange_identification: Connection closed by remote host
Connection closed

C:\Documents and Settings\usxavargas>

I do understand the unlicensed message, what I dont understand is why is the connection being closed with the message "ssh_exchange_identification: Connection closed by remote host"

Thanks again
By bethredd - 9/21/2015 7:02:43 AM

I'm sorry for the delay in getting back to you.

Please try a verbose connection to see if you can collect more information.

sftp -v localhost
By fq4tqw - 9/21/2015 8:03:12 AM

It's all good, did a clean install of the app and all works now. Thanks though