Re: SSHD terminates immediately with permission(?) problem

2023-05-31 Thread Kirk Wolf
The PORT statement should be like we should in our "z/OS OpenSSH Quick Install Guide" that I referred to earlier. https://coztoolkit.com/docs/pt-quick-inst/pto-inst-basic.html#pto-inst-tcpip PORT ... 22 TCP SSHD* NOAUTOLOG ; OpenSSH SSHD server Kirk Wolf Dovetailed Technologies

Re: SSHD terminates immediately with permission(?) problem

2023-05-30 Thread Michael Babcock
I think ours is set for port 22 with SSHD* but I’d have to check to be sure. On Tue, May 30, 2023 at 5:55 PM Wendell Lovewell < 01e9c0ee0673-dmarc-requ...@listserv.ua.edu> wrote: > A big "Thank you" to all of you listers who chimed in on my "EDC5111I > Permission denied.

Re: SSHD terminates immediately with permission(?) problem

2023-05-30 Thread Wendell Lovewell
A big "Thank you" to all of you listers who chimed in on my "EDC5111I Permission denied. (errno2=0x744C7246)." message. Almost everyone was on the right track. Changing to port showed that it was just port 22. Commenting out the RESTRICTLOWPORTS and the PORT reservation for "22 SSHD"

Re: SSHD terminates immediately with permission(?) problem

2023-05-30 Thread Matthew Stitt
df >https://coztoolkit.com/docs/sftp/ssh_keys_part1_2012-06-12.pdf > >HTH, > >-Original Message- >From: IBM Mainframe Discussion List On Behalf Of >Wendell Lovewell >Sent: Friday, May 26, 2023 6:49 PM >To: IBM-MAIN@LISTSERV.UA.EDU >Subject: SSHD terminates immediately

Re: SSHD terminates immediately with permission(?) problem

2023-05-30 Thread Allan Staller
Subject: SSHD terminates immediately with permission(?) problem [CAUTION: This Email is from outside the Organization. Unless you trust the sender, Don’t click links or open attachments as it may be a Phishing email, which can steal your Information and compromise your Computer.] I've done

Re: SSHD terminates immediately with permission(?) problem

2023-05-29 Thread Colin Paice
There is an IBM support page which mentions this code for telnet, and what to check. Colin On Sun, 28 May 2023 at 17:33, Kirk Wolf wrote: > This is the reason code documentation - > > >bpxmtext 744C7246 > TCPIP >

Re: SSHD terminates immediately with permission(?) problem

2023-05-28 Thread Kirk Wolf
This is the reason code documentation - >bpxmtext 744C7246 TCPIP JRPortAccessAuth: User does not have authority to access this port. Action: Specify a valid port. The first thing that I would check would be the TCPIP.PROFILE PORT statement to see if there is a jobname based reservation for

Re: SSHD terminates immediately with permission(?) problem

2023-05-27 Thread John S. Giltner, Jr.
Has your sshd task always been named SSHD3? In your TCP/IP profile member do you have another task name defined as reserving port 22? On Fri, 26 May 2023 18:09:12 -0700, Tom Brennan wrote: >Can you change the port from 22 to something over 1023 for a quick test? > >On 5/26/2023 6:01 PM, Tom

Re: SSHD terminates immediately with permission(?) problem

2023-05-26 Thread Tom Brennan
Can you change the port from 22 to something over 1023 for a quick test? On 5/26/2023 6:01 PM, Tom Brennan wrote: This may be way off so ignore if it sounds crazy... Here's a snip of some old server code I wrote in C for Linux:   client_sockin.sin_port = htons(port);   rc =

Re: SSHD terminates immediately with permission(?) problem

2023-05-26 Thread Tom Brennan
This may be way off so ignore if it sounds crazy... Here's a snip of some old server code I wrote in C for Linux: client_sockin.sin_port = htons(port); rc = bind(local_socket,(struct sockaddr *)_sockin,sizeof(client_sockin)); if (rc != 0) log_msg(0,LM_EXIT,12,"Cannot bind to port %d

Re: SSHD terminates immediately with permission(?) problem

2023-05-26 Thread Michael Babcock
Check your TCPIP config member. Something else is listening on port 22. Perhaps another SSHD. Issue the netstat command to see the offender. On Fri, May 26, 2023 at 6:49 PM Wendell Lovewell < 01e9c0ee0673-dmarc-requ...@listserv.ua.edu> wrote: > I've done something wrong that I can't

SSHD terminates immediately with permission(?) problem

2023-05-26 Thread Wendell Lovewell
I've done something wrong that I can't identify, and now SSHD terminates immediately after starting. I'm not getting anything helpful on the console or in the joblog. But I am getting these msgs in syslog: OMVSKERN SSHD3sshd[67174408]: error: FOTS1442 Bind to port 22 on :: failed: