====SSH Login====
AHPCC clusters are available on several ''ssh'' login hosts and from a web portal, see [[ portal_login ]]. The ''ssh'' common account text login host is ''hpc-portal2.hpc.uark.edu''.
**Workstation Set-up:**
An ''ssh'' client is needed on your workstation to access the ''ssh'' login hosts. The https web portal
[[ portal_login ]] has an ''ssh'' text emulator in-browser if you don't have an ''ssh'' client available. An
''ssh'' client (and file-transfer ''scp,sftp'') are usually installed by default on linux and Mac workstations. More guidance on how to find the ''ssh'' client on a [[https://support.apple.com/guide/terminal/open-or-quit-terminal-apd5265185d-f365-44cb-8b09-71a064a42125/mac#:~:text=On%20your%20Mac%2C%20do%20one,%2C%20then%20double%2Dclick%20Terminal.|Mac]] and [[https://www.dell.com/support/kbdoc/en-us/000130703/the-command-prompt-what-it-is-and-how-to-use-it-on-a-dell-system|other linux operating system]].
On Windows you have several choices:
- the stand-alone program [[ https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html | PuTTY ]] with Win 7,10,11. With the PuTTY ssh client ''putty.exe'' you will probably also need a file-transfer program from the same site, either ''pscp.exe'' or ''psftp.exe''. The two programs are somewhat different interfaces to the same protocol. The stand-alone executables are very small and lightweight programs.
- Win 10 or 11 can also install a near-complete clone of Linux from Microsoft including ''ssh,scp,sftp'' called [[ https://docs.microsoft.com/en-us/windows/wsl/wsl2-install | WSL ]]. This is our preferred solution for Windows workstations, as it includes standard Linux utilities. In the WSL terminal you will need to enable cut/paste in terminal properties. WSL takes some resources on your workstation as it is almost a full virtual machine. You can configure your system to use just about any Linux distribution with WSL, Ubuntu is the default. There are two [[ https://learn.microsoft.com/en-us/windows/wsl/compare-versions | Versions ]] and you can configure your installation to use either. In short, WSL 2 is better Linux emulation but WSL 1 makes better use of the local NTFS filesystem if you want to share data with native Windows.
- Win 10 or 11 should also have native Microsoft OpenSSH ''ssh.exe'' installed. If your workstation is attached to the UA campus Windows network, you should specify your login name to ssh even if looks the same as your windows login name. Add the port ''-p'' if not 22.
ssh feynman@hpc-portal2.hpc.uark.edu [-p 2022]
If you don't specify your name@destination, it will try to authenticate with your Windows network name gacl/feynman which will fail.
We previously recommended sshwinsecureshell-3.2.9 which no longer works with Rocky 8..
**Login Set-up:**
Within your workstation, login to ''ssh'' hosts using your UArk login name (without @uark.edu) and authenticate with your UArk password. If you don't have a Uark account, we will send you alternate login instructions. In PuTTY you may need to set the host port on the configuration screen to 22, not 23. An example of logging into the pinnacle host is as follows: ssh @pinnacle.uark.edu.
**Don't put passwords in emails.** AHPCC doesn't know and can't change UArk passwords, use
[[ https://account.uark.edu ]] or ITS support. We can determine if an AHPCC login host shows a password as failed or accepted. If you fail UArk authentication three times, you won't be able to login for half an hour. If an AHPCC login host fails to answer or fails to login, contact hpc-support@listserv.uark.edu . It may help to first try another login host and/or a protected ITS host such as
[[ https://account.uark.edu ]] to help determine if it is a host, network, or account/password issue.