Skip to main content
deleted 14 characters in body
Source Link
Foad
  • 379
  • 2
  • 4
  • 11

On my local machine I have generated public and private ssh keys with ssh-keygen so now I can login to any of those machines with ssh [email protected]foo, ssh [email protected], ssh [email protected] ... but the names of those nodes are not in an order. If one login to one of those nodes and run sinfo this is the result:

On my local machine I have generated public and private ssh keys with ssh-keygen so now I can login to any of those machines with ssh [email protected], ssh [email protected], ssh [email protected] ... but the names of those nodes are not in an order. If one login to one of those nodes and run sinfo this is the result:

On my local machine I have generated public and private ssh keys with ssh-keygen so now I can login to any of those machines with ssh foo, ssh [email protected], ssh [email protected] ... but the names of those nodes are not in an order. If one login to one of those nodes and run sinfo this is the result:

deleted 42 characters in body
Source Link
Rui F Ribeiro
  • 58k
  • 28
  • 156
  • 237

How can I would appreciate if you could help me know how to write an script, preferably compatible with Cmder/ConEmu, to automate these steps.

I would appreciate if you could help me know how to write an script, preferably compatible with Cmder/ConEmu, to automate these steps.

How can I write an script, preferably compatible with Cmder/ConEmu, to automate these steps.

added 18 characters in body
Source Link
Foad
  • 379
  • 2
  • 4
  • 11

On my local machine I have generated public and private ssh keys with ssh-keygen so now I can login to any of those machines with ssh foouser1@foo.uni.com, ssh baruser1@bar.uni.com, ssh bazuser1@baz.uni.com ... but the names of those nodes are not in an order. If one login to one of those nodes and run sinfo this is the result:

On my local machine I have generated public and private ssh keys with ssh-keygen so now I can login to any of those machines with ssh foo.uni.com, ssh bar.uni.com, ssh baz.uni.com ... but the names of those nodes are not in an order. If one login to one of those nodes and run sinfo this is the result:

On my local machine I have generated public and private ssh keys with ssh-keygen so now I can login to any of those machines with ssh user1@foo.uni.com, ssh user1@bar.uni.com, ssh user1@baz.uni.com ... but the names of those nodes are not in an order. If one login to one of those nodes and run sinfo this is the result:

Source Link
Foad
  • 379
  • 2
  • 4
  • 11
Loading