Proxy support for Pragma sftp cli


Author
Message
balgopal
b
Forum Guru (64 reputation)Forum Guru (64 reputation)Forum Guru (64 reputation)Forum Guru (64 reputation)Forum Guru (64 reputation)Forum Guru (64 reputation)Forum Guru (64 reputation)Forum Guru (64 reputation)Forum Guru (64 reputation)
Group: Forum Members
Posts: 5, Visits: 25
Hi 
I am using pragma suite Version: 5.0 Build 9 Revision 3380 in my org on windows Server.

I need to use sftp cli to connect to Vendors sftp site over internet hence i need to use my org proxy to have sftp connection.

I have whitelisted my server ip in proxy and now using sftp.

#sftp -oProxyCommand="ssh -W %h%p myorg-server-proxy:port" vendoersftp.site.com

This gives me message --

Connecting to vendoersftp.site.com
Secure Connection to %h%p refused
Connection closed.

Could you please confirm if current version of pragma support proxy command. Any idea is this error from pragma side or from proxy or vendor side.

Thanks
Balgopal
Technical Support Group...
Technical Support Group (TSG)
Pragmateer (1.5K reputation)Pragmateer (1.5K reputation)Pragmateer (1.5K reputation)Pragmateer (1.5K reputation)Pragmateer (1.5K reputation)Pragmateer (1.5K reputation)Pragmateer (1.5K reputation)Pragmateer (1.5K reputation)Pragmateer (1.5K reputation)
Group: Moderators
Posts: 136, Visits: 639
balgopal - 11/19/2018 5:14:00 AM
Hi 
I am using pragma suite Version: 5.0 Build 9 Revision 3380 in my org on windows Server.

I need to use sftp cli to connect to Vendors sftp site over internet hence i need to use my org proxy to have sftp connection.

I have whitelisted my server ip in proxy and now using sftp.

#sftp -oProxyCommand="ssh -W %h%p myorg-server-proxy:port" vendoersftp.site.com

This gives me message --

Connecting to vendoersftp.site.com
Secure Connection to %h%p refused
Connection closed.

Could you please confirm if current version of pragma support proxy command. Any idea is this error from pragma side or from proxy or vendor side.

Thanks
Balgopal

Hello,

Your build should have proxy support using the command you have used. You have a typo in your syntax though that might be causing an issue. The command should be:

Sftp -oProxyCommand=”ssh -W %h:%p host:port” destination_server

Please note the colon between %h and %p.

Pragma Systems Technical Support
13809 Research Blvd, #675
Austin, TX 78750
http://www.pragmasys.com
balgopal
b
Forum Guru (64 reputation)Forum Guru (64 reputation)Forum Guru (64 reputation)Forum Guru (64 reputation)Forum Guru (64 reputation)Forum Guru (64 reputation)Forum Guru (64 reputation)Forum Guru (64 reputation)Forum Guru (64 reputation)
Group: Forum Members
Posts: 5, Visits: 25
Technical Support Group (TSG) - 11/19/2018 5:21:05 PM
balgopal - 11/19/2018 5:14:00 AM
Hi 
I am using pragma suite Version: 5.0 Build 9 Revision 3380 in my org on windows Server.

I need to use sftp cli to connect to Vendors sftp site over internet hence i need to use my org proxy to have sftp connection.

I have whitelisted my server ip in proxy and now using sftp.

#sftp -oProxyCommand="ssh -W %h%p myorg-server-proxy:port" vendoersftp.site.com

This gives me message --

Connecting to vendoersftp.site.com
Secure Connection to %h%p refused
Connection closed.

Could you please confirm if current version of pragma support proxy command. Any idea is this error from pragma side or from proxy or vendor side.

Thanks
Balgopal

Hello,

Your build should have proxy support using the command you have used. You have a typo in your syntax though that might be causing an issue. The command should be:

Sftp -oProxyCommand=”ssh -W %h:%p host:port” destination_server

Please note the colon between %h and %p.

Thanks for reply, I do have colon in my command so that is ok. I spoke to my Proxy team and they asked me to use SOCKS5. So my ask is -
1. my build ( i ask you mean pragma software ) supports this feature or not please confirm. I have given my pragma version ..Pragma Version: 5.0 Build 9 Revision 3380...Does this need anything from Windows Server end.
2. Is there any way to specify proxy protocol like SOCKS5 in sftp cmd. I know in Linux/Unix Socks5 is default.

Thanks
balgopal
b
Forum Guru (64 reputation)Forum Guru (64 reputation)Forum Guru (64 reputation)Forum Guru (64 reputation)Forum Guru (64 reputation)Forum Guru (64 reputation)Forum Guru (64 reputation)Forum Guru (64 reputation)Forum Guru (64 reputation)
Group: Forum Members
Posts: 5, Visits: 25
balgopal - 11/20/2018 4:40:19 AM
Technical Support Group (TSG) - 11/19/2018 5:21:05 PM
balgopal - 11/19/2018 5:14:00 AM
Hi 
I am using pragma suite Version: 5.0 Build 9 Revision 3380 in my org on windows Server.

I need to use sftp cli to connect to Vendors sftp site over internet hence i need to use my org proxy to have sftp connection.

I have whitelisted my server ip in proxy and now using sftp.

#sftp -oProxyCommand="ssh -W %h%p myorg-server-proxy:port" vendoersftp.site.com

This gives me message --

Connecting to vendoersftp.site.com
Secure Connection to %h%p refused
Connection closed.

Could you please confirm if current version of pragma support proxy command. Any idea is this error from pragma side or from proxy or vendor side.

Thanks
Balgopal

Hello,

Your build should have proxy support using the command you have used. You have a typo in your syntax though that might be causing an issue. The command should be:

Sftp -oProxyCommand=”ssh -W %h:%p host:port” destination_server

Please note the colon between %h and %p.

Thanks for reply, I do have colon in my command so that is ok. I spoke to my Proxy team and they asked me to use SOCKS5. So my ask is -
1. my build ( i ask you mean pragma software ) supports this feature or not please confirm. I have given my pragma version ..Pragma Version: 5.0 Build 9 Revision 3380...Does this need anything from Windows Server end.
2. Is there any way to specify proxy protocol like SOCKS5 in sftp cmd. I know in Linux/Unix Socks5 is default.

Thanks

Hi i just tested with Putty and Winscp on server and it is working. So i assume problem is with the Pragma build we have to support proxy. Please confirm on this please. 
Technical Support Group...
Technical Support Group (TSG)
Pragmateer (1.5K reputation)Pragmateer (1.5K reputation)Pragmateer (1.5K reputation)Pragmateer (1.5K reputation)Pragmateer (1.5K reputation)Pragmateer (1.5K reputation)Pragmateer (1.5K reputation)Pragmateer (1.5K reputation)Pragmateer (1.5K reputation)
Group: Moderators
Posts: 136, Visits: 639
balgopal - 11/20/2018 8:30:56 AM
balgopal - 11/20/2018 4:40:19 AM
Technical Support Group (TSG) - 11/19/2018 5:21:05 PM
balgopal - 11/19/2018 5:14:00 AM
Hi 
I am using pragma suite Version: 5.0 Build 9 Revision 3380 in my org on windows Server.

I need to use sftp cli to connect to Vendors sftp site over internet hence i need to use my org proxy to have sftp connection.

I have whitelisted my server ip in proxy and now using sftp.

#sftp -oProxyCommand="ssh -W %h%p myorg-server-proxy:port" vendoersftp.site.com

This gives me message --

Connecting to vendoersftp.site.com
Secure Connection to %h%p refused
Connection closed.

Could you please confirm if current version of pragma support proxy command. Any idea is this error from pragma side or from proxy or vendor side.

Thanks
Balgopal

Hello,

Your build should have proxy support using the command you have used. You have a typo in your syntax though that might be causing an issue. The command should be:

Sftp -oProxyCommand=”ssh -W %h:%p host:port” destination_server

Please note the colon between %h and %p.

Thanks for reply, I do have colon in my command so that is ok. I spoke to my Proxy team and they asked me to use SOCKS5. So my ask is -
1. my build ( i ask you mean pragma software ) supports this feature or not please confirm. I have given my pragma version ..Pragma Version: 5.0 Build 9 Revision 3380...Does this need anything from Windows Server end.
2. Is there any way to specify proxy protocol like SOCKS5 in sftp cmd. I know in Linux/Unix Socks5 is default.

Thanks

Hi i just tested with Putty and Winscp on server and it is working. So i assume problem is with the Pragma build we have to support proxy. Please confirm on this please. 
Hello,

Your build does not support SOCKS proxy. You will need to update to the latest build at www.pragmasys.com/ssh-client/download.


Pragma Systems Technical Support
13809 Research Blvd, #675
Austin, TX 78750
http://www.pragmasys.com
balgopal
b
Forum Guru (64 reputation)Forum Guru (64 reputation)Forum Guru (64 reputation)Forum Guru (64 reputation)Forum Guru (64 reputation)Forum Guru (64 reputation)Forum Guru (64 reputation)Forum Guru (64 reputation)Forum Guru (64 reputation)
Group: Forum Members
Posts: 5, Visits: 25
Technical Support Group (TSG) - 11/21/2018 3:01:20 PM
balgopal - 11/20/2018 8:30:56 AM
balgopal - 11/20/2018 4:40:19 AM
Technical Support Group (TSG) - 11/19/2018 5:21:05 PM
balgopal - 11/19/2018 5:14:00 AM
Hi 
I am using pragma suite Version: 5.0 Build 9 Revision 3380 in my org on windows Server.

I need to use sftp cli to connect to Vendors sftp site over internet hence i need to use my org proxy to have sftp connection.

I have whitelisted my server ip in proxy and now using sftp.

#sftp -oProxyCommand="ssh -W %h%p myorg-server-proxy:port" vendoersftp.site.com

This gives me message --

Connecting to vendoersftp.site.com
Secure Connection to %h%p refused
Connection closed.

Could you please confirm if current version of pragma support proxy command. Any idea is this error from pragma side or from proxy or vendor side.

Thanks
Balgopal

Hello,

Your build should have proxy support using the command you have used. You have a typo in your syntax though that might be causing an issue. The command should be:

Sftp -oProxyCommand=”ssh -W %h:%p host:port” destination_server

Please note the colon between %h and %p.

Thanks for reply, I do have colon in my command so that is ok. I spoke to my Proxy team and they asked me to use SOCKS5. So my ask is -
1. my build ( i ask you mean pragma software ) supports this feature or not please confirm. I have given my pragma version ..Pragma Version: 5.0 Build 9 Revision 3380...Does this need anything from Windows Server end.
2. Is there any way to specify proxy protocol like SOCKS5 in sftp cmd. I know in Linux/Unix Socks5 is default.

Thanks

Hi i just tested with Putty and Winscp on server and it is working. So i assume problem is with the Pragma build we have to support proxy. Please confirm on this please. 
Hello,

Your build does not support SOCKS proxy. You will need to update to the latest build at www.pragmasys.com/ssh-client/download.

Hi there,

I have got another build with version: 5.0 Build: 10 Revision: 1563. It has proxy support ...

When i tried command 
Sftp -oProxyCommand=”ssh -W %h:%p proxyhost:port” destination_server
Now i am getting "ssh_exchange_identification" connection closed by remote host...
Kindly assist
Technical Support Group...
Technical Support Group (TSG)
Pragmateer (1.5K reputation)Pragmateer (1.5K reputation)Pragmateer (1.5K reputation)Pragmateer (1.5K reputation)Pragmateer (1.5K reputation)Pragmateer (1.5K reputation)Pragmateer (1.5K reputation)Pragmateer (1.5K reputation)Pragmateer (1.5K reputation)
Group: Moderators
Posts: 136, Visits: 639
balgopal - 11/27/2018 8:49:37 AM
Technical Support Group (TSG) - 11/21/2018 3:01:20 PM
balgopal - 11/20/2018 8:30:56 AM
balgopal - 11/20/2018 4:40:19 AM
Technical Support Group (TSG) - 11/19/2018 5:21:05 PM
balgopal - 11/19/2018 5:14:00 AM
Hi 
I am using pragma suite Version: 5.0 Build 9 Revision 3380 in my org on windows Server.

I need to use sftp cli to connect to Vendors sftp site over internet hence i need to use my org proxy to have sftp connection.

I have whitelisted my server ip in proxy and now using sftp.

#sftp -oProxyCommand="ssh -W %h%p myorg-server-proxy:port" vendoersftp.site.com

This gives me message --

Connecting to vendoersftp.site.com
Secure Connection to %h%p refused
Connection closed.

Could you please confirm if current version of pragma support proxy command. Any idea is this error from pragma side or from proxy or vendor side.

Thanks
Balgopal

Hello,

Your build should have proxy support using the command you have used. You have a typo in your syntax though that might be causing an issue. The command should be:

Sftp -oProxyCommand=”ssh -W %h:%p host:port” destination_server

Please note the colon between %h and %p.

Thanks for reply, I do have colon in my command so that is ok. I spoke to my Proxy team and they asked me to use SOCKS5. So my ask is -
1. my build ( i ask you mean pragma software ) supports this feature or not please confirm. I have given my pragma version ..Pragma Version: 5.0 Build 9 Revision 3380...Does this need anything from Windows Server end.
2. Is there any way to specify proxy protocol like SOCKS5 in sftp cmd. I know in Linux/Unix Socks5 is default.

Thanks

Hi i just tested with Putty and Winscp on server and it is working. So i assume problem is with the Pragma build we have to support proxy. Please confirm on this please. 
Hello,

Your build does not support SOCKS proxy. You will need to update to the latest build at www.pragmasys.com/ssh-client/download.

Hi there,

I have got another build with version: 5.0 Build: 10 Revision: 1563. It has proxy support ...

When i tried command 
Sftp -oProxyCommand=”ssh -W %h:%p proxyhost:port” destination_server
Now i am getting "ssh_exchange_identification" connection closed by remote host...
Kindly assist

Hello,

Please add the -v parameter to collect verbose output from the client. That will give me more information.


Pragma Systems Technical Support
13809 Research Blvd, #675
Austin, TX 78750
http://www.pragmasys.com
balgopal
b
Forum Guru (64 reputation)Forum Guru (64 reputation)Forum Guru (64 reputation)Forum Guru (64 reputation)Forum Guru (64 reputation)Forum Guru (64 reputation)Forum Guru (64 reputation)Forum Guru (64 reputation)Forum Guru (64 reputation)
Group: Forum Members
Posts: 5, Visits: 25
Technical Support Group (TSG) - 11/27/2018 7:59:28 PM
balgopal - 11/27/2018 8:49:37 AM
Technical Support Group (TSG) - 11/21/2018 3:01:20 PM
balgopal - 11/20/2018 8:30:56 AM
balgopal - 11/20/2018 4:40:19 AM
Technical Support Group (TSG) - 11/19/2018 5:21:05 PM
balgopal - 11/19/2018 5:14:00 AM
Hi 
I am using pragma suite Version: 5.0 Build 9 Revision 3380 in my org on windows Server.

I need to use sftp cli to connect to Vendors sftp site over internet hence i need to use my org proxy to have sftp connection.

I have whitelisted my server ip in proxy and now using sftp.

#sftp -oProxyCommand="ssh -W %h%p myorg-server-proxy:port" vendoersftp.site.com

This gives me message --

Connecting to vendoersftp.site.com
Secure Connection to %h%p refused
Connection closed.

Could you please confirm if current version of pragma support proxy command. Any idea is this error from pragma side or from proxy or vendor side.

Thanks
Balgopal

Hello,

Your build should have proxy support using the command you have used. You have a typo in your syntax though that might be causing an issue. The command should be:

Sftp -oProxyCommand=”ssh -W %h:%p host:port” destination_server

Please note the colon between %h and %p.

Thanks for reply, I do have colon in my command so that is ok. I spoke to my Proxy team and they asked me to use SOCKS5. So my ask is -
1. my build ( i ask you mean pragma software ) supports this feature or not please confirm. I have given my pragma version ..Pragma Version: 5.0 Build 9 Revision 3380...Does this need anything from Windows Server end.
2. Is there any way to specify proxy protocol like SOCKS5 in sftp cmd. I know in Linux/Unix Socks5 is default.

Thanks

Hi i just tested with Putty and Winscp on server and it is working. So i assume problem is with the Pragma build we have to support proxy. Please confirm on this please. 
Hello,

Your build does not support SOCKS proxy. You will need to update to the latest build at www.pragmasys.com/ssh-client/download.

Hi there,

I have got another build with version: 5.0 Build: 10 Revision: 1563. It has proxy support ...

When i tried command 
Sftp -oProxyCommand=”ssh -W %h:%p proxyhost:port” destination_server
Now i am getting "ssh_exchange_identification" connection closed by remote host...
Kindly assist

Hello,

Please add the -v parameter to collect verbose output from the client. That will give me more information.

Hi

Logs trace are --
------------------------------------------------------------------------------------
Connecting to destination_server
Pragma Fortress 5.0.10.1563
Reading Configuration data C:\Users\myuser\AppData\Roaming\PragmaSSH\config
connect failed 11001
Secure Connection to ProxyHost refused
ssh_exachange_Identification: Connection Closed by remote host
Connection close
---------------------------------------------------------------------------------------------------
It is looking for ssh config file but there are no config file...
Please advise ...
Thanks
Technical Support Group...
Technical Support Group (TSG)
Pragmateer (1.5K reputation)Pragmateer (1.5K reputation)Pragmateer (1.5K reputation)Pragmateer (1.5K reputation)Pragmateer (1.5K reputation)Pragmateer (1.5K reputation)Pragmateer (1.5K reputation)Pragmateer (1.5K reputation)Pragmateer (1.5K reputation)
Group: Moderators
Posts: 136, Visits: 639
balgopal - 11/28/2018 4:28:03 AM
Technical Support Group (TSG) - 11/27/2018 7:59:28 PM
balgopal - 11/27/2018 8:49:37 AM
Technical Support Group (TSG) - 11/21/2018 3:01:20 PM
balgopal - 11/20/2018 8:30:56 AM
balgopal - 11/20/2018 4:40:19 AM
Technical Support Group (TSG) - 11/19/2018 5:21:05 PM
balgopal - 11/19/2018 5:14:00 AM
Hi 
I am using pragma suite Version: 5.0 Build 9 Revision 3380 in my org on windows Server.

I need to use sftp cli to connect to Vendors sftp site over internet hence i need to use my org proxy to have sftp connection.

I have whitelisted my server ip in proxy and now using sftp.

#sftp -oProxyCommand="ssh -W %h%p myorg-server-proxy:port" vendoersftp.site.com

This gives me message --

Connecting to vendoersftp.site.com
Secure Connection to %h%p refused
Connection closed.

Could you please confirm if current version of pragma support proxy command. Any idea is this error from pragma side or from proxy or vendor side.

Thanks
Balgopal

Hello,

Your build should have proxy support using the command you have used. You have a typo in your syntax though that might be causing an issue. The command should be:

Sftp -oProxyCommand=”ssh -W %h:%p host:port” destination_server

Please note the colon between %h and %p.

Thanks for reply, I do have colon in my command so that is ok. I spoke to my Proxy team and they asked me to use SOCKS5. So my ask is -
1. my build ( i ask you mean pragma software ) supports this feature or not please confirm. I have given my pragma version ..Pragma Version: 5.0 Build 9 Revision 3380...Does this need anything from Windows Server end.
2. Is there any way to specify proxy protocol like SOCKS5 in sftp cmd. I know in Linux/Unix Socks5 is default.

Thanks

Hi i just tested with Putty and Winscp on server and it is working. So i assume problem is with the Pragma build we have to support proxy. Please confirm on this please. 
Hello,

Your build does not support SOCKS proxy. You will need to update to the latest build at www.pragmasys.com/ssh-client/download.

Hi there,

I have got another build with version: 5.0 Build: 10 Revision: 1563. It has proxy support ...

When i tried command 
Sftp -oProxyCommand=”ssh -W %h:%p proxyhost:port” destination_server
Now i am getting "ssh_exchange_identification" connection closed by remote host...
Kindly assist

Hello,

Please add the -v parameter to collect verbose output from the client. That will give me more information.

Hi

Logs trace are --
------------------------------------------------------------------------------------
Connecting to destination_server
Pragma Fortress 5.0.10.1563
Reading Configuration data C:\Users\myuser\AppData\Roaming\PragmaSSH\config
connect failed 11001
Secure Connection to ProxyHost refused
ssh_exachange_Identification: Connection Closed by remote host
Connection close
---------------------------------------------------------------------------------------------------
It is looking for ssh config file but there are no config file...
Please advise ...
Thanks

The error is not due to the config file. Error 11001 means "No such host is known". I would take this to mean that ProxyCommand host name you are using is unknown. Make sure that you can reach the proxy server directly. Also make sure that the ProxyCommand uses the right name or IP address of the Proxy server.


Pragma Systems Technical Support
13809 Research Blvd, #675
Austin, TX 78750
http://www.pragmasys.com
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search