9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I have a basic question.
In my system i maintained multiple unix server, and only one server has public ip, and all the servers are behind load balancing BIG ip server.
To access any server, user need to access server with public IP then from there they can establish ssh connection to... (2 Replies)
Discussion started by: dilipsn
2 Replies
2. Shell Programming and Scripting
The below while loop is in ksh on a SunOs server: SPARC-Enterprise 5.10
The ksh version is: Version M-11/16/88i
The intention of the below while loop is to read through a list of file names in files.txt and
delete each file from a server, one at a time. The delete works, the problem is that if... (6 Replies)
Discussion started by: LES2013
6 Replies
3. Shell Programming and Scripting
hi all,
I need to write one script to copy multiple imp files
like
/etc/passwd
/etc/group
/etc/shadow
/etc/printers.conf
from system A, System B and system C to system Z
and I need to execute this script on System Z.
like if system is equal A copy 1 2 3 files to system Z into... (9 Replies)
Discussion started by: manalisharmabe
9 Replies
4. Shell Programming and Scripting
Hi ,
I am trying to remove files using ssh login to other server but i am not able to delete files
I am using below options:
ssh username@"$Server" -t bash << EOF
cd $location
rm -rf `find . -name *.log.* -mtime +450`
Server name I am picking from some other file and its correct rm command... (1 Reply)
Discussion started by: ankush_mehra
1 Replies
5. Shell Programming and Scripting
I am trying to transfer my website using ssh(hostbasedauthentication) using:
sudo ssh -o "PasswordAuthentication no" -o "HostbasedAuthentication yes" -l testuser 192.168.3.1 "find /var/www/vhosts/mywebsite.com -depth | grep -f include| cpio -oavc| gzip" > $backup_dir/fullwwwsite$date.cpio.gz
... (5 Replies)
Discussion started by: metallica1973
5 Replies
6. Shell Programming and Scripting
Hi
I have below scenario, I hope this could be possible, but as of now no idea how to implement this.
Mount point in this location /abc/mp, and there will different users who will be executing one the file shell1.sh file located in /abs/mp, but every user will execute this shell1.sh file from... (1 Reply)
Discussion started by: shekharjchandra
1 Replies
7. Shell Programming and Scripting
Hi All,
Could you please help me out how can i copy the file from one system to another using scp.
For example - i have systems A,B,C in one location
And i have systems D,E,F in second location.
Now, I wan to copy the files from Systems A->D, B->E, C->F using scp in loop or any condition... (5 Replies)
Discussion started by: sdosanjh
5 Replies
8. Solaris
I have two servers.
server 1 - secure server running ssh only on solaris 9. I can installed whatever I need here as long as its reasonably secure
server 2 - running telnet (no ssh/scp installed) - I cannot change much on this server and cannot install much..
I need to pull some files from... (3 Replies)
Discussion started by: frustrated1
3 Replies
9. UNIX for Dummies Questions & Answers
being ordinary user (not having any administrative rights) can avail myself a facility to know who logged and logged out with their timings get popped onto my terminal as if it get echo 'ed... (3 Replies)
Discussion started by: vkandati
3 Replies