Click here to Skip to main content
15,506,757 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: News about AI in case you haven't seen this Pin
jmaida31-Jul-22 19:49
jmaida31-Jul-22 19:49 
GeneralRe: News about AI in case you haven't seen this Pin
Calin Negru31-Jul-22 22:12
Calin Negru31-Jul-22 22:12 
GeneralRe: News about AI in case you haven't seen this Pin
jmaida31-Jul-22 19:51
jmaida31-Jul-22 19:51 
GeneralRe: News about AI in case you haven't seen this Pin
Calin Negru1-Aug-22 0:07
Calin Negru1-Aug-22 0:07 
GeneralRe: News about AI in case you haven't seen this Pin
jmaida1-Aug-22 7:56
jmaida1-Aug-22 7:56 
GeneralRe: News about AI in case you haven't seen this Pin
Calin Negru2-Aug-22 0:00
Calin Negru2-Aug-22 0:00 
GeneralRe: News about AI in case you haven't seen this Pin
Eddy Vluggen30-Jul-22 4:21
professionalEddy Vluggen30-Jul-22 4:21 
RantOpenSSH on Windows Server Hint Pin
kmoorevs29-Jul-22 9:48
kmoorevs29-Jul-22 9:48 
A few days ago, a client requested a secure drop resource/location for a series of batch files from another vendor who insisted on sftp. This meant that I needed to install openssh on my h/o server and get it working. I overconfidently replied that I could have it working before the end of the day. (a couple of hours)

The OpenSSH package installer for Windows is great, and actually does just about everything for you...keys created, services are started, firewall rules created, etc...easy peasy right?

2.5 frustrating days later dealing with really vague connection errors (-1?) in WinSCP/logs while connecting effortlessly through powershell, I finally got it working! The first 5 articles I read on the process failed to mention that the path system environment variable needed an entry to the OpenSSH folder! D'Oh! | :doh: After doing that, and at least getting a connection, all the settings in the service config file made more sense. I must have restarted that service a hundred times trying to get it to work.

The user was granted access but since there was not a system path to the sftp-server, the connection was aborted. That's why ssh in powershell worked when sftp wouldn't.

I was also able to get sftp working on one of our azure vms which for still unknown reason fails to connect with ftp, so now I've at least got a primary and secondary sftp resource available.

Anyway, this whole escapade revealed my ineptness at troubleshooting server/network issues. At least I learned something and am only posting here so that possibly someone else doesn't waste as much time as I did.

I'm a solo developer and responsible for all the company's software and hardware assets both physical and virtual. Lately, much of the server related stuff I've had to muck around in is security related...switching to https and managing certs, getting a cert working with the email server, and now adding sftp services. I'd much rather be doing development! Smile | :) Rant over! Have a great weekend! Laugh | :laugh:
"Go forth into the source" - Neal Morse
"Hope is contagious"

GeneralRe: OpenSSH on Windows Server Hint Pin
RickZeeland29-Jul-22 10:44
mveRickZeeland29-Jul-22 10:44 
GeneralCCC 2022-07-29 Pin
Greg Utas29-Jul-22 1:00
mveGreg Utas29-Jul-22 1:00 
PraiseRe: CCC 2022-07-29 Pin
jsc4229-Jul-22 1:05
professionaljsc4229-Jul-22 1:05 
GeneralRe: CCC 2022-07-29 Pin
OriginalGriff29-Jul-22 1:09
mveOriginalGriff29-Jul-22 1:09 
GeneralRe: CCC 2022-07-29 Pin
Greg Utas29-Jul-22 1:12
mveGreg Utas29-Jul-22 1:12 
GeneralRe: CCC 2022-07-29 Pin
OriginalGriff29-Jul-22 1:24
mveOriginalGriff29-Jul-22 1:24 
GeneralRe: CCC 2022-07-29 Pin
jsc4229-Jul-22 1:24
professionaljsc4229-Jul-22 1:24 
GeneralRe: CCC 2022-07-29 Pin
OriginalGriff29-Jul-22 1:25
mveOriginalGriff29-Jul-22 1:25 
GeneralRe: CCC 2022-07-29 - winner Pin
Greg Utas29-Jul-22 1:35
mveGreg Utas29-Jul-22 1:35 
GeneralRe: CCC 2022-07-29 - winner Pin
jmaida29-Jul-22 13:35
jmaida29-Jul-22 13:35 
GeneralRe: CCC 2022-07-29 - winner Pin
Greg Utas29-Jul-22 15:03
mveGreg Utas29-Jul-22 15:03 
GeneralRe: CCC 2022-07-29 - winner Pin
FreedMalloc29-Jul-22 15:05
FreedMalloc29-Jul-22 15:05 
GeneralRe: CCC 2022-07-29 - winner Pin
jmaida29-Jul-22 16:10
jmaida29-Jul-22 16:10 
GeneralRe: CCC 2022-07-29 - winner Pin
FreedMalloc29-Jul-22 16:50
FreedMalloc29-Jul-22 16:50 
GeneralRe: CCC 2022-07-29 - winner Pin
jmaida29-Jul-22 17:10
jmaida29-Jul-22 17:10 
GeneralSound of the Week Pin
Sander Rossel28-Jul-22 22:06
professionalSander Rossel28-Jul-22 22:06 
GeneralRe: Sound of the Week Pin
David O'Neil28-Jul-22 23:00
professionalDavid O'Neil28-Jul-22 23:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Straw Poll

How would you describe your current job?
Fighting dragons everyday or clicking the same boxes on the same forms, day after day?
  Results   1,018 votes