01-21-2016
Microsoft Windows does not run any scp service, natively. Nothing is accepting connections (listening) for you to push a file through via scp. And even if it were, you need login credentials to be able to do that.
If you were to have login credentials and log into Windows you can use pscp.exe from the same people that makes putty to pull the file from the Linux server.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Dear Friend,
I don't know much about unix.I am an VB6.0 Programmer.I need to move an text files as aaa.txt from unix server to windows "D: " driver using the FTP protocol.Is it possible to do this with help of unix shell script.If possible please give some sample codes.
Please answer as early... (1 Reply)
Discussion started by: gjsaravanan
1 Replies
2. Filesystems, Disks and Memory
Hello Moto
I hope someone can help
We's here at work, have a unix box with sco openserver 5 on it, so it has a nice gui interface.. and also a fair few windows computers..
a system admin guy b4 me, has set up a user called neil, which can, when u try to access the unix box using windows... (2 Replies)
Discussion started by: haggo
2 Replies
3. HP-UX
want to remove the thread
thanks (2 Replies)
Discussion started by: indira
2 Replies
4. Shell Programming and Scripting
want to remove this thread.
thanks (2 Replies)
Discussion started by: indira
2 Replies
5. HP-UX
hi all,
I have two server(Unix tru64 and windows 2003 server).
these server's live running now.
The win2003server doesn't have ftp server. Also Unix server doesn't have samba.
if both server's have ftp server that no problem.
How to transfer file from windows server to unix by every... (2 Replies)
Discussion started by: Tlg13team
2 Replies
6. Shell Programming and Scripting
Can anybody please help me on how to code for the below requirement:
I need to write a shell script (on different unix server) to copy files from multiple folders (ex. BRN-000001) from one windows server (\\boldls-mwe-dev4)to a different windows server(\\rrwin-ewhd04.ecomad.int). This shell... (4 Replies)
Discussion started by: SravsJaya
4 Replies
7. IP Networking
hi, i want to write a shell script code which transfers files from a directory in unix server to a directory in a windows machine.. can any1 give me a sample code which uses ftp or sftp command..
thanks very much, (3 Replies)
Discussion started by: Little
3 Replies
8. Windows & DOS: Issues & Discussions
Hi all,
I'm a newbie to unix. My requirement is to create an automation script which will transfer a zipped folder from my/remote desktop to an unix server. Tools lik WinSCP shouldnt be used. No manual moving. I use putty to connect to server. I couldnt find any help on this topic. Should i use... (3 Replies)
Discussion started by: sherin22
3 Replies
9. UNIX for Advanced & Expert Users
Hi,
I am working on an application which runs on an Informatica Red-Hat 5.10 Linux Server.
The application involves several Informatica ETL workflows which generate 100s of Text files with lot of data. Many of the files will each be up to 5 GB in size.
Currently the Informatica server itself... (7 Replies)
Discussion started by: waavman
7 Replies
LEARN ABOUT HPUX
pam_setcred
pam_setcred(3) Library Functions Manual pam_setcred(3)
NAME
pam_setcred - modify/delete user credentials for an authentication service
SYNOPSIS
[ flag ... ] file ... [ library ... ]
DESCRIPTION
is used to establish, modify, or delete user credentials. is typically called after the user has been authenticated and after a session
has been opened (refer to pam_authenticate(3), pam_acct_mgmt(3), and pam_open_session(3)).
The user is specified by a prior call to or and is referenced by the authentication handle, pamh. The following flags may be set in the
flags field. Note that the first four flags are mutually exclusive:
Set user credentials for an authentication service.
Delete user credentials associated with an authentication service.
Reinitialize user credentials.
Extend lifetime of user credentials.
Authentication service should not generate any messages.
If none of the flags are set, is used as the default.
APPLICATION USAGE
Refer to pam(3) for information on thread-safety of PAM interfaces.
RETURN VALUES
Upon success, returns In addition to the error return values described in pam(3), the following values may be returned upon error:
Underlying authentication service can not retrieve user credentials unavailable.
User credentials expired.
User unknown to underlying authentication service.
Failure setting user credentials.
SEE ALSO
pam(3), pam_start(3), pam_authenticate(3), pam_acct_mgmt(3), pam_open_session(3).
pam_setcred(3)