TAGGED: fluent, passwordless, ssh, windows
-
-
August 10, 2021 at 10:19 am
JakeBloomfield
SubscriberHi All,
I'm hoping someone can help me!
We're currently facing an issue where we cannot initiate a Fluent run using passwordless SSH using the native Windows 10 SSH implementation.
Info of the setup:
- Windows 10 20H2 client desktop with lastest ANSYS installation (2021 R2)
- Linux Cluster with 5 nodes
- RHEL 7.9 (full up to date)
- ANSYS 2021 R2 installed in default path /ansys_inc
I have setup passwordless SSH on the client to all of the nodes (all have the same shared /home directory via NFS) - this works absolutely fine via SSH from the Windows command prompt/PowerShell. For testing purposes, I am just using the first node via "Distributed Memory on a Cluster" option.
However, when I try to use the Fluent launcher, I get the following error message:
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password). Error: It seems using ssh requires password for sdlpmcfd01. Please enable passwordless login and try again!
Here is the remote command we're using to spawn the run (username removed for privacy):
ssh -l username
I have made sure the .ssh/authorized_keys on the nodes have the correct permissions (if this wasn't correct, the passwordless SSH connection via the Windows command prompt would fail).
Any ideas or thoughts?
I am happy to try a different connection method for SSH e.g. PuTTY or CygWin.. just need to get this working. We used to have a CentOS client for this which worked without issue.. not sure if the Windows implementation of SSH isn't compatiable.
Cheers,
Jake
August 10, 2021 at 11:46 amDrAmine
Ansys EmployeeCan you reach that machine using Putty or plink? plink -k username machine "which fluent"
This looks like that your IT department should be involved.
With Putty we usually create the private key. For Open SSH you need to convert to the right format. You need to move the public portion of the key into the Linux "Cluster" (editing ~/.ssh/authorized_keys) (Copy all test from public kay portion to that file). One the windows machines include putty in path, create a new env KEYPATH (path to the key). Then make the tests with plink
plink -i ÔÇ£%KEYPATH%ÔÇØ linuxlogin@linux_machinename pwd.
If all works, Fluent Use Remote Linux Nodes, Remote Working is a Linux HOME Directory Remote Spwan Command (other: plink -i "Full Path Directory where the key is stored) -l username Head Node is the Linux Head Npde
I hope it helps.
August 10, 2021 at 12:23 pmJakeBloomfield
SubscriberHi DrAmine Thanks for your reply.
I am the IT Manager and I'm looking at this issue on behalf of an engineer (I am not a power user of Fluent, just trying to diagnose this specific connection issue).
I have yet to use PuTTY or plink as we've been trying to use the native OpenSSH implementation on Windows 10. I will get PuTTY installed and try your instructions to see if I can get anywhere further.
Cheers Jake
August 10, 2021 at 1:52 pmJakeBloomfield
SubscriberHi DrAmine I've followed the steps, and I think I've got a bit further. The plink test works and comes back fine (I had to accept the host key manually, as PuTTY doesn't have a way of turning this feature off).
I've used the command in the Remote Spawn Option as you've specified - it launches fluent, but in the Console it hangs at the following:
Host spawning Node 0 on machine "server.foo.com" (lnamd64)
Check your network connections and remote shell configuration.
If you are on a slow network or running through a scheduler like lsf or sge, you may choose to wait.
I'll follow up with Commercial Support as I haven't made much headway.
Cheers Jake
August 11, 2021 at 6:14 amDrAmine
Ansys EmployeeThanks for the feedback.
Double check first if you can reach the head node outside of Fluent and report that to the commercial support.
May 1, 2022 at 4:42 pmgjcdenoga
SubscriberI am getting the same errors. It works when I open Fluent on the linux head node of our cluster. However, when I open Fluent on a separate Win10 client and try to solve remotely on the linux head node and the cluster. How was this problem resolved?
Viewing 5 reply threads- The topic ‘Can’t get Passwordless SSH to work – Windows 10 Client / RHEL Cluster’ is closed to new replies.
Ansys Innovation SpaceBoost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.
Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
Trending discussions- Licensing – Request name does not exist in the licensing pool
- 2022 R1 Ansys Mechanical APDL: QXcbConnection: Failed to initialize XRandr
- error “ansyslmd: Cannot connect to license server system. (-15,10032)
- The analysis systems in Workbench are missing
- Student license renewal
- Mechanical APDL Launcher Options
- how to open files created from newer version by using the older version of ansys
- Problems using 2022/R2
- Results Probe in ANSYS Workbench
- Unable to delete system in Ansys Workbench
Top Contributors-
8808
-
4658
-
3153
-
1680
-
1470
Top Rated Tags© 2023 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-