Sponsored Content
Full Discussion: ssh to itself
Top Forums UNIX for Advanced & Expert Users ssh to itself Post 302104959 by chaandana on Monday 29th of January 2007 11:37:25 PM
Old 01-30-2007
ssh to itself

Hi,

If I use password-less authentication to itself (via id_rsa) would it pose a security threat ?
(i.e. by copying the id_rsa.pub key to its authorised_keys )

Thanks in advance
Chaandana
 

9 More Discussions You Might Find Interesting

1. Cybersecurity

What's the difference between an SSH Client and an SSH Server?

Eh... yeah. What the title says. :D (1 Reply)
Discussion started by: PSC
1 Replies

2. Shell Programming and Scripting

could not send commands SSH session with Net::SSH::Expect

I am using Net::SSH::Expect to connect to the device(iLO) with SSH. After the $ssh->login() I'm able to view the prompt, but not able to send any coommands. With the putty I can connect to the device and execute the commands without any issues. Here is the sample script my $ssh =... (0 Replies)
Discussion started by: hansini
0 Replies

3. Shell Programming and Scripting

Using ssh to add register key on ssh server

Hi, I want to use ssh to add a register key on remote ssh server. Since there are space characters in my register key string, it always failed. If there is no space characters in the string, it worked fine. The following is what I have tried. It seems that "ssh" command doesn't care about double... (9 Replies)
Discussion started by: leaftree
9 Replies

4. UNIX for Dummies Questions & Answers

SSH SSH encountered 1 errors during the transfer

This issue was resolved due to using the correct user transferring the file over to the desktop. (1 Reply)
Discussion started by: Computergal2104
1 Replies

5. Shell Programming and Scripting

Ssh = ssh expect and keep everything not change include parameter postion

I have write a script which contains ssh -p 12345 dcplatform@10.125.42.50 ssh 127.0.0.1 -p 5555 "$CMD" ssh root@$GUEST_IP "$CMD" before I use public key, it works well, now I want to change to "expect", BUT I don't want to change above code and "parameter position" I can post a... (1 Reply)
Discussion started by: yanglei_fage
1 Replies

6. UNIX for Dummies Questions & Answers

SSH tunnel working for ssh but not for sshfs

I'm trying to setup a link between my home pc (work-machine) and a server at work (tar-machine) that is behind a gateway (hop-machine) and not directly accessible. my actions: work-machine$ ssh -L 1234:tar-machine:22 hop-machine work-machine$ ssh -p 1234 user@127.0.0.1 - shh access on... (1 Reply)
Discussion started by: Vathau
1 Replies

7. Shell Programming and Scripting

Check if file exists via ssh in ssh (nested)

I'm using redhat and have an odd issue with a nested ssh call. ssh -i ~/.ssh/transfer-key -q transfer@fserver1 ] && ssh -i ~/.ssh/transfer-key transfer@fserver1 "ssh -i ~/.ssh/sftp-key sftpin@10.0.0.1 ]" && ssh -i ~/.ssh/transfer-key transfer@fserver1 "scp -i ~/.ssh/sftp-key /home/S/outbox/*... (2 Replies)
Discussion started by: say170
2 Replies

8. UNIX for Beginners Questions & Answers

Ssh script to validate ssh connection to multiple serves with status

Hi, I want to validate ssh connection one after one for multiple servers..... password less keys already setup but now i want to validate if ssh is working fine or not... I have .sh script like below and i have servers.txt contains all the list of servers #/bin/bash for host in $(cat... (3 Replies)
Discussion started by: sreeram4
3 Replies

9. Shell Programming and Scripting

Find active SSH servers w/ ssh keys on LAN

Hi, I am trying to complete my bash script in order to find which SSH servers on LAN are still active with the ssh keys, but i am frozen at this step: #!/bin/bash # LAN SSH KEYS DISCOVERY SCRIPT </etc/passwd \ grep /bin/bash | cut -d: -f6 | sudo xargs -i -- sh -c ' && cat... (11 Replies)
Discussion started by: syrius
11 Replies
ONEUSER(1)					      oneuser(1) -- manages OpenNebula users						ONEUSER(1)

NAME
oneuser SYNOPSIS
oneuser command [args] [options] OPTIONS
-r, --read-file Read password from file --sha1 The password will be hashed using the sha1 algorithm --ssh SSH Auth system --x509 x509 Auth system for x509 certificates -k, --key path_to_private_key_pem Path to the Private Key of the User -c, --cert path_to_user_cert_pem Path to the Certificate of the User --driver driver Driver to autehnticate this user --x509_proxy x509 Auth system based on x509 proxy certificates --proxy path_to_user_proxy_pem Path to the user proxy certificate --time x Token duration in seconds, defaults to 3600 (1 h) -l, --list x,y,z Selects columns to display with list command -d, --delay x Sets the delay in seconds for top command -x, --xml Show the resource in xml format -n, --numeric Do not translate user and group IDs -v, --verbose Verbose mode -h, --help Show this message -V, --version Show version and copyright information COMMANDS
o create username [password] Creates a new User Examples: oneuser create my_user my_password oneuser create my_user -r /tmp/mypass oneuser create my_user --ssh --key /tmp/id_rsa oneuser create my_user --ssh -r /tmp/public_key oneuser create my_user --x509 --cert /tmp/my_cert.pem valid options: read_file, sha1, ssh, x509, key, cert, driver o update userid Launches the system editor to modify and update the template contents o login username Creates the Login token for authentication Examples: oneuser login my_user --ssh --key /tmp/id_rsa --time 72000 oneuser login my_user --x509 --cert /tmp/my_cert.pem --key /tmp/my_key.pk --time 72000 oneuser login my_user --x509_proxy --proxy /tmp/my_cert.pem --time 72000 valid options: ssh, x509, x509_proxy, key, cert, proxy, time o key Shows a public key from a private SSH key. Use it as password for the SSH authentication mechanism. valid options: key o delete range|userid_list Deletes the given User o passwd userid [password] Changes the given User's password valid options: read_file, sha1, ssh, x509, key, cert, driver o chgrp range|userid_list groupid Changes the User's main group o chauth userid [auth] [password] Changes the User's auth driver and its password (optional) Examples: oneuser chauth my_user core oneuser chauth my_user core new_password oneuser chauth my_user core -r /tmp/mypass oneuser chauth my_user --ssh --key /home/oneadmin/.ssh/id_rsa oneuser chauth my_user --ssh -r /tmp/public_key oneuser chauth my_user --x509 --cert /tmp/my_cert.pem valid options: read_file, sha1, ssh, x509, key, cert, driver o list Lists Users in the pool valid options: list, delay, xml, numeric o show [userid] Shows information for the given User valid options: xml ARGUMENT FORMATS
o file Path to a file o range List of id's in the form 1,8..15 o text String o groupid OpenNebula GROUP name or id o userid OpenNebula USER name or id o userid_list Comma-separated list of OpenNebula USER names or ids o password User password LICENSE
OpenNebula 3.4.1 Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 April 2012 ONEUSER(1)
All times are GMT -4. The time now is 05:23 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy