How To Download Openssh For Mac

Note: this project has been deprecated in favor of the brew package: https://github.com/theseal/ssh-askpass

Similar Software for Mac. Install Pd on Mac OSX; Install WireOver on Mac OSX; Install CLion on Mac OSX; Install Zipeg on Mac OSX; Install Zoom.us on Mac OSX; Install YY on Mac OSX; Install Zoho Docs on Mac OSX; Install ZeroTier One on Mac OSX; Install Zotero on Mac OSX; Install Zed on Mac OSX. Free download Portable OpenSSH Portable OpenSSH for Mac OS X. Portable OpenSSH - Normal OpenSSH development produces a very small, secure, and easy to maintain a version of the OpenBSD project.

Author: Mark Carver
Created: 2011-09-14
Licensed under GPL 3.0

Based off script from author: Joseph Mocker, Sun Microsystemshttp://blogs.oracle.com/mock/entry/and_now_chicken_of_the

If you've gotten this error:

Then you probably need this script. Mac OS X does not prompt for a password outside of Terminal when connecting via SSH (for security reasons). This script grants any application the ability to prompt the user for a password via an AppleScript dialog.

Usage

  1. You can install this script using the INSTALL file included with the download (easiest/automatic)
    1. Open Terminal /Applications/Utilities/Terminal.app
    2. Type sudo`` (with the space at the end)
    3. Drag the INSTALL file onto Terminal and press return
    4. Enter your password
  1. You can install this script manually:
    1. Copy the source code located below
    2. Open Terminal /Applications/Utilities/Terminal.app
    3. Type sudo vi /usr/libexec/ssh-askpass
    4. Enter your password
    5. Type i to go into edit mode
    6. Press ⌘v to paste the code
    7. Press esc to go out of edit mode
    8. Type : then w and press return to write the file
    9. Type : then x and press return to exit vi
    10. Type sudo chmod +rx /usr/libexec/ssh-askpass to make the script executable
    11. Test the script! Type /usr/libexec/ssh-askpass

NOTE: You must run as root or precede the commands with sudo when using INSTALL or vi. The directory /usr/libexec is owned by root.

Notes

If you plan on manually installing this script, please note that you will have to set the following variable for SSH to recognize where the script is located:

export SSH_ASKPASS='/path/to/ssh-askpass'

Source

Question & Answer


Question

How do I download, install, or upgrade OpenSSL and OpenSSH on AIX?

Answer

1) Download the latest available 'OpenSSL or OpenSSH n.n.n' for your AIX version from the following download link:
(Register for a user ID at the site if you do not have an account.)
The following example is the latest version at the time of publishing. Always check the download site, and corresponding readme files for information pertaining to your AIX oslevel.
    • (34779877)
openssh
  • VRMF: 7.5.102.1801
    • OpenSSH_7.5.102.1801.tar.Z (11765639)
2) Create directory to hold openssl and openssh.
Example:
% mkdir /tmp/newopenssh
Transfer the compressed OpenSSL tar file to the /tmp/newopenssl directory.
Transfer the compressed OpenSSH tar file to the /tmp/newopenssh directory
3) If /etc/ssh exists before the upgrade of OpenSSH or AIX, make a back up of the directory. Skip steps 3 and 9-10 if OpenSSH is not installed.
Important Notes
A) If you have an existing ssh configuration, make a copy of the /etc/ssh directory before installing the new ssh to preserve the ssh host keys. If this is a new installation of ssh there will not be an /etc/ssh directory.
B) Read the following technote for details about changes in OpenSSH Version 7.

4) Prepare the openssl software for installation.
% uncompress
% cd <newly created openssl directory if one was created>
5) Install the openssl software.
% smitty install_all INPUT device / directory for software [.]
<enter> * INPUT device / directory for software . * SOFTWARE to install []
Select F4 or esc+4 to list the openssl software.
Select with F7: openssl.base openssl.license openssl.man.en_US
<enter>
6) Prepare the openssh software for installation.
% uncompress OpenSSH_7.5.102.1801.tar.Z
% cd <newly created openssh directory if one was created>
% smitty install_all INPUT device / directory for software [.]
* INPUT device / directory for software .
<..>
Select with F7:openssh.base openssh.license openssh.man.en_US openssh.msg.EN_US openssh.msg.en_US
<enter>
8) If the installation was successful, sshd is now active.
% lssrc -g sshd
This should result in an 'active' status, indicating it is ready to accept ssh connections
NOTE: SSHD is called from /etc/rc.d/rc2.d/Ssshd script at boot up. The Ssshd script is called from the l2 entry in /etc/inittab
--> l2:2:wait:/etc/rc.d/rc2.d
Since many Open Source packages rely on OpenSSL, it recommended to run the following command, which will update your virtual AIX-rpm package so the rpm installer will be aware of the new or updated libraries:
% /usr/sbin/updtvpkg
*** Skip steps 10 and 11 if this is a new SSH installation.
10) Restore or update ssh host keys and config files.
% cd /etc/ssh
Backup the newly installed ssh_config and sshd_config files.
% cp -p sshd_config sshd_config.orig_<today's_date>
Restore the /etc/ssh_backup host keys directory
% cp -pr cp ssh_host_*_key* /etc/ssh
Update (or restore previous) sshd_config and ssh_config files
**It is recommended that you use the newly installed ssh_config and sshd_config files, and if there was any customization of the old files, you should manually add those changes to the new files.
Alternatively (not recommended), you can restore the previous config files:
% cp -pr sshd_config ssh_config /etc/ssh
11) Stop and restart sshd to read the updated config files.
To stop sshd from the command line:
% stopsrc -s sshd
To start sshd from the command line:
% startsrc -s sshd
% lssrc -g sshd
This should result in an 'active' status, indicating the system is ready to accept ssh connections.
SUPPORT

Ez gig iv mac download. If you require more assistance, use the following step-by-step instructions to contact IBM to open a case for software with an active and valid support contract.

1. Document (or collect screen captures of) all symptoms, errors, and messages related to your issue.

2. Capture any logs or data relevant to the situation.

3. Contact IBM to open a case:

-For electronic support, see the IBM Support Community:
https://www.ibm.com/mysupport
-If you require telephone support, see the web page:
https://www.ibm.com/planetwide/

4. Provide a clear, concise description of the issue.

5. If the system is accessible, collect a system snap, and upload all of the details and data for your case.

- For guidance, see: Working with IBM AIX Support: Collecting snap data

Related URL

[{'Product':{'code':'SWG10','label':'AIX'},'Business Unit':{'code':'BU009','label':'Systems - Cognitive'},'Component':'Not Applicable','Platform':[{'code':'PF002','label':'AIX'}],'Version':'Not Applicable','Edition':'}]

Document Information

Modified date:
12 March 2020