06-21-2006
Thanks for your response Grial.
As you suggested
(i) get the public key and copy it to /home/user2/.ssh/authorized_keys was already done
(ii) Set the appropiate perms for the files - what should the perms be, please (700) ??
(iii) and check that both machies are resolving their IP/names.
10 More Discussions You Might Find Interesting
1. AIX
Hi,
I need to implement sftp between server 1 and server2.
I have already generated the public key using account user1 on server 1 and and sent it to the administrator of server2.
I have also finished updating the identification file at /home/user1/.ssh2
I have an account created... (2 Replies)
Discussion started by: tansha
2 Replies
2. Shell Programming and Scripting
Hi all,
I generally use the something along the lines of the following when I need to perform SFTP's ... sftp -v -o IdentityFile=${IdentityFile} \
-b ${SFTP_BATCH_FILE} \
${USRID}@${IP_OR_DNS}:${REMOTE_DIR} 2>&1 | tee -a ${SFTPLOG}Now currently we are not using any passphrase... (4 Replies)
Discussion started by: Cameron
4 Replies
3. Shell Programming and Scripting
Hi all,
Can anyone help ...on how to ensure that a file is locked .
thanks & regards,
Soodoo
----------------------------------------
Problem description: -
We usually use the mv command in scripts to make sure that a file is complete and not being written to by another process.
... (1 Reply)
Discussion started by: soodoo
1 Replies
4. Shell Programming and Scripting
I have Windows server setups consisting two servers to work on.
I have to run a batch file on server 2 (say, Batch2) by running a batch file on server 1 (Say, Batch1).
We have Tectia SSH server-client setup.
Could anyone please tell the script/code for Batch1? (1 Reply)
Discussion started by: sakha83
1 Replies
5. AIX
Guys,
sftp between Unix & Windows
I'd like to get good software or a way to how to configure sftp between ( windows to Unix ) and ( Unix to windows ) to be automatic login between the different operating systems without asking password ..
Pls assist in this regard … (3 Replies)
Discussion started by: Mr.AIX
3 Replies
6. Solaris
Hi,
Earlier, I have configured SFTP successfully in my prev jobs.
This time I have to configure SFTP for local server (uses SSH2) and remote server (uses SSH).
I tried to search the forum. I did not find the right thread.
I appreciate your help.
The following is the additional info
>... (5 Replies)
Discussion started by: bobbygsk
5 Replies
7. Shell Programming and Scripting
I have an ftp statement that when it restarts, it will write over the top of the file at the other end, rather than append to the file part sitting at the destination.
This is a problem because the flaky connection fails so regularly that the 2GB file I try to transfer will never complete.
... (2 Replies)
Discussion started by: rupert160
2 Replies
8. Solaris
Hello all, does anybody knows a procedure to enable an chroot for users using ssh and sftp ? Thanks (1 Reply)
Discussion started by: celord
1 Replies
9. UNIX for Dummies Questions & Answers
Plz share how we can make a passwordless SSH connection from a SSH1 UNIX server to SSH2 UNIX server. (3 Replies)
Discussion started by: krishna87
3 Replies
10. Shell Programming and Scripting
Hi All,
Do you have any sample script,
- auto get file from SFTP remote server and delete file in remove server after downloaded.
- only download specify filename
- auto upload file from local to SFTP remote server and delete local folder file after uploaded
- only upload specify filename
... (3 Replies)
Discussion started by: weesiong
3 Replies
LEARN ABOUT CENTOS
console.perms
console.perms(5) System Administrator's Manual console.perms(5)
NAME
console.perms - permissions control file for users at the system console
DESCRIPTION
/etc/security/console.perms and .perms files in the /etc/security/console.perms.d directory determine the permissions that will be given to
priviledged users of the console at login time, and the permissions to which to revert when the users log out. They are read by the
pam_console_apply helper executable.
The format is:
<class>=space-separated list of words
login-regexp|<login-class> perm dev-glob|<dev-class>
revert-mode revert-owner[.revert-group]
The revert-mode, revert-owner, and revert-group fields are optional, and default to 0600, root, and root, respectively.
The words in a class definition are evaluated as globs if they refer to files, but as regular expressions if they apply to a console defi-
nition. Do not mix them.
Any line can be broken and continued on the next line by using a character as the last character on the line.
The login-class class and the login-regexp word are evaluated as regular expressions. The dev-class and the dev-glob word are evaluated as
shell-style globs. If a name given corresponds to a directory, and if it is a mount point listed in /etc/fstab, the device node associated
with the filesystem mounted at that point will be substituted in its place.
Classes are denoted by being contained in < angle bracket > characters; a lack of < angle brackets > indicates that the string is to be
taken literally as a login-regexp or a dev-glob, depending on its input position.
SEE ALSO
pam_console(8)
pam_console_apply(8)
console.apps(5)
AUTHOR
Michael K. Johnson <johnsonm@redhat.com>
Red Hat Software 2005/5/2 console.perms(5)