Sponsored Content
Operating Systems AIX ssh public key setup questions. Post 302366033 by zxmaus on Wednesday 28th of October 2009 03:47:58 PM
Old 10-28-2009
Hi,

the good news - your script works Smilie It does exactly what you tell it to do.

The bad news - if you want just remote execution you should rather use the rsh command facilities rather than ssh and than pull the output. Obviously bad for security.

Kind regards
zxmaus
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

SSH Public key method

do we need root access for the remote server to ssh without a password(i.e by using id_rsa.pub method)??? (1 Reply)
Discussion started by: roshanjain2
1 Replies

2. UNIX for Advanced & Expert Users

SSH - Public key

When should one have to generate a public key on a Server when the public key is already created and used by other clients? Thanks, Rahul. (6 Replies)
Discussion started by: rahulrathod
6 Replies

3. UNIX for Advanced & Expert Users

Setting Up public key on Windows for ssh/scp

Hi, I am trying to scp a file from our Unix server to the local Windows machine.I have created the key pair in Unix server using ssh-keygen command in unix. But I am not sure where can we put the public key(generated on Unix) in Windows machine so that scp from Unix machine to Windows is... (3 Replies)
Discussion started by: dennis.jacob
3 Replies

4. Shell Programming and Scripting

Generate Public Key when the server is not ssh enabled

I am writing a script that needs to access various servers some of which are not ssh enabled. In order to access the ssh enabled servers I am using the following command to generate the public key : ssh-keygen -t rsa Is there a similar command for the other servers as well. If I try to use... (1 Reply)
Discussion started by: ravneet123
1 Replies

5. UNIX for Advanced & Expert Users

Generate Public key for non ssh enabled servers

I am writing a script that needs to access various servers some of which are not ssh enabled. In order to access the ssh enabled servers I am using the following command to generate the public key : ssh-keygen -t rsa Is there a similar command for the other servers as well. If I try to use... (1 Reply)
Discussion started by: ravneet123
1 Replies

6. Red Hat

SSH Public key Authentication Issue

Hi All; I have an issue with password less authentication via ssh ( v2) I have two servers Server A and Server B, following are the server details Server A OS - HP UX B.11.11 U 9000/800 SSH - OpenSSH_4.3p2-hpn, OpenSSL 0.9.7i 14 Oct 2005 HP-UX Secure Shell-A.04.30.000, HP-UX... (3 Replies)
Discussion started by: maverick_here
3 Replies

7. Solaris

Solaris 8 ssh public key authentication issue - Server refused our key

Hi, I've used the following way to set ssh public key authentication and it is working fine on Solaris 10, RedHat Linux and SuSE Linux servers without any problem. But I got error 'Server refused our key' on Solaris 8 system. Solaris 8 uses SSH2 too. Why? Please help. Thanks. ... (1 Reply)
Discussion started by: aixlover
1 Replies

8. UNIX for Dummies Questions & Answers

how to create a public/private key using ssh-keygen

Hi, please guide me create a public/private key using ssh-keygen, lets say I have been access to server named pngpcdb1with a userid and password ...!!! and also please explain in detail the concept of these keys and ssh as I was planning to use them in ftp related scripts..! Thanks in... (1 Reply)
Discussion started by: rahul125
1 Replies

9. UNIX for Advanced & Expert Users

SSH public key failing without error message

My password-free ssh connection has worked in the past but has stopped working and I can't get it going again. The files in .ssh on both source and target are set to 600: drwx------ 2 ingres 1024 Mar 2 13:57 . drwxr-xr-x 25 ingres 2048 Mar 29 09:38 .. -rw------- 1 ingres ... (9 Replies)
Discussion started by: Catullus
9 Replies

10. Solaris

Public private key setup issue in Solaris 10

Hi i am using solaris 10.I am trying to setup a public/private key but it is not working.Appreciate your repsonse on it There are two servers DB1 server and DB2 server. 1)I have generated public/private key using below step on both servers. ssh-keygen -t rsa 2)From DB1 server moved the... (6 Replies)
Discussion started by: muraliinfy04
6 Replies
news(1) 						      General Commands Manual							   news(1)

NAME
news - Writes system news items to standard output SYNOPSIS
news [-a|-n|-s] | [item...] The news command keeps you informed of news concerning the system. OPTIONS
Displays all news items, regardless of the currency time. The currency time does not change. Reports the names of current news items without displaying their contents. The currency time does not change. Reports the number of current news items without displaying their names or contents. The currency time does not change. DESCRIPTION
Each news item is contained in a separate file in the /usr/news directory. Anyone having read/write permission to this directory can cre- ate a news file. If you run the news command without any options, it displays the current files in /usr/news, beginning with the most recent. You can also specify the items you want displayed. Each file is preceded by an appropriate header. To avoid reporting old news, news stores a currency time. The news command considers your currency time to be the modification time of the file named $HOME/.news_time. Each time you read the news, the modification time of this file changes to that of the reading. Only news item files posted after this time are considered current. Pressing the Interrupt key sequence during the display of a news item stops the display of that item and starts the next. Pressing the Interrupt key sequence again ends news. Most users run news each time they log in by including the following line in their $HOME/.profile file or in the system's /etc/profile: news -n EXAMPLES
To display the items that were posted since you last read the news, enter: news To display all the news items, enter: news -a | pg This displays all the news items a page at a time, regardless of whether you have read them yet. To list the names of the news items that you have not read yet, enter: news -n Each name is a file in the /usr/news directory. To display specific news items, enter: news newusers services This displays news about newusers and services, which are names listed by news -n. To display the number of news items that you have not read yet, enter: news -s To post news for everyone to read, enter: cp schedule /usr/news This copies the file schedule into the system news directory ( /usr/news) to create the file /usr/news/schedule. To do this, you must have write permission for /usr/news. FILES
System profile. News files. Indicates the last time news was read. SEE ALSO
Commands: pg(1) news(1)
All times are GMT -4. The time now is 09:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy