- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- setting a trust between a windows station to a Lin...
Operating System - Linux
1821537
Members
2307
Online
109633
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
- 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
- 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.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP