Skip to ContentSkip to Footer
Start of content
- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - Linux
- >
- General
- >
- Re: setting a trust between a windows station to a...
General
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-22-2011 09:19 PM
03-22-2011 09:19 PM
setting a trust between a windows station to a Linux servers
Hi,
does anyone know how to do that?
how do I create an SSH key to be insreted to "trusted-host" file in the Linux host?
any other way to execute commands from a remote windows machine to a linux box without specifying the password, when using SSH client?
thanks
Itai
does anyone know how to do that?
how do I create an SSH key to be insreted to "trusted-host" file in the Linux host?
any other way to execute commands from a remote windows machine to a linux box without specifying the password, when using SSH client?
thanks
Itai
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-22-2011 10:43 PM
03-22-2011 10:43 PM
Re: setting a trust between a windows station to a Linux servers
SSH keypairs are normally generated using a key generation tool that comes with the SSH client software. (If you're using the free PuTTY SSH client, the key generation tool is called PuTTYgen.)
The keypair includes two keys: the private key and the public key. The private key stays with the client host, and the public key is inserted into the appropriate file in the remote server.
Usually the key generation tool will suggest that you set a passphrase on the private key. But it is possible to create a key without a passphrase, if you need to execute commands with no typing of passwords or -phrases at all. In that case, it is recommended that you configure restrictions to the server to make it harder to damage your systems if an unauthorized or malicious person gets the private key.
Most Linux hosts use a SSH server implementation based on OpenSSH. With it, you have the option of configuring a specific command to be executed when a particular SSH key is used. When that command completes, the session ends. This may be useful if you need to allow only a few specific actions to be executed remotely.
If you want more information about this, run "man sshd" on your Linux system and read the chapter titled "AUTHORIZED_KEYS FILE FORMAT": it lists all the server-side restrictions you can configure on a SSH key.
MK
The keypair includes two keys: the private key and the public key. The private key stays with the client host, and the public key is inserted into the appropriate file in the remote server.
Usually the key generation tool will suggest that you set a passphrase on the private key. But it is possible to create a key without a passphrase, if you need to execute commands with no typing of passwords or -phrases at all. In that case, it is recommended that you configure restrictions to the server to make it harder to damage your systems if an unauthorized or malicious person gets the private key.
Most Linux hosts use a SSH server implementation based on OpenSSH. With it, you have the option of configuring a specific command to be executed when a particular SSH key is used. When that command completes, the session ends. This may be useful if you need to allow only a few specific actions to be executed remotely.
If you want more information about this, run "man sshd" on your Linux system and read the chapter titled "AUTHORIZED_KEYS FILE FORMAT": it lists all the server-side restrictions you can configure on a SSH key.
MK
MK
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
End of content
United States
Hewlett Packard Enterprise International
Communities
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP