Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Script to log in SFTP server [with username, password] Post 302832503 by millan on Monday 15th of July 2013 03:44:57 AM
Old 07-15-2013
The only way is to use key authentication.
This User Gave Thanks to millan For This Post:
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

username password in script

Can we write a script to telnet to a unix server from unix with the username and password hardcoded in the script?? something like ssh a@b -p password ??? (5 Replies)
Discussion started by: roshanjain2
5 Replies

2. Solaris

i wanto hardcode password for a username to ssh to a server using script

Dear all i want to ssh to a server via running a shell script with a username and i want to hard code the password for that particular username can u help me please Thank u Naree (8 Replies)
Discussion started by: naree
8 Replies

3. UNIX for Advanced & Expert Users

Login through SFTP using username and password

Hi All, I want to login to a server through SFTP by giving username and password, in an automated script. I know that this can be done through public key authentication, but my requirement is to login ONLY through username and password. I am using GNU/Linux server. Please advise me !!!... (4 Replies)
Discussion started by: sparks
4 Replies

4. AIX

SFTP from one server to another with password

All, Is there a possibility to sftp a file from one AIX server to another AIX server with password? I do not want to use public or private key option as we would have required privileges for creating the keys. So Please provide the needful with a sample script. Thanks in Advance, Vijayakumar S... (2 Replies)
Discussion started by: kuppu.uncle
2 Replies

5. UNIX and Linux Applications

Regarding NFS server username/password authentication

Hi; I had set up NFS server in one ubuntu box and mounted few directories using it. In order to access those directories across the network i m using j-ftp(an open source java network client) from other boxes in the same network.I am able to view my mounted directories in the server through it.... (1 Reply)
Discussion started by: ajaypadvi
1 Replies

6. Shell Programming and Scripting

Auto Script to Access external Server via SFTP using Password and Key

Hello All, I am stuck! I have access to an external server via SFTP. In order to access the external server I was given a specific port, password, and a ppk. I would to create a script on my server end that can I can setup as a corn job, that will connect to the external server and... (1 Reply)
Discussion started by: kingr008
1 Replies

7. HP-UX

Connect to remote server using sftp with password define within command/script

I am trying to connect to remote server in hp-ux, using sftp command (using sftp username@ip and password ) able to connect to remote server but, in this case sftp prompt for password and user need to manually enter it. I want sftp can read a password define in script or from file, so it can... (1 Reply)
Discussion started by: ketanraut
1 Replies

8. Solaris

Script to get files from remote server to local server through sftp without prompting for password

Hi, I am trying to automate the process of fetching files from remote server to local server through sftp. I have the username and password for the remote solaris server. But I need to give password manually everytime i run the script. Can anyone help me in automating the script such that it... (3 Replies)
Discussion started by: ssk250
3 Replies

9. Shell Programming and Scripting

How to send Two different password in Single script, having same username..?

Hi Team, i want to input two password for single node like pass1/pass2 one of the pass1 is working some node and pass2 is working for some nodes . For nodes having pass1 i have to run different script and for nodes having pass2 i have to run different script Sooo how can put two pass... (3 Replies)
Discussion started by: Ganesh Mankar
3 Replies

10. Shell Programming and Scripting

How can i su automaticaly in same server with different username and same password?

Hi I am new to shell scripting, Can you please help me in writing a script that can switch user in same server with different user name and same password. I want to perform some functional task in a particular user and need to switch user and perform same activity in another user and so on ... ... (4 Replies)
Discussion started by: Dew
4 Replies
STRUCT 
CFG80211_CONN(9) Actions and configuration STRUCT CFG80211_CONN(9) NAME
struct_cfg80211_connect_params - Connection parameters SYNOPSIS
struct cfg80211_connect_params { struct ieee80211_channel * channel; u8 * bssid; u8 * ssid; size_t ssid_len; enum nl80211_auth_type auth_type; u8 * ie; size_t ie_len; bool privacy; enum nl80211_mfp mfp; struct cfg80211_crypto_settings crypto; const u8 * key; u8 key_len; u8 key_idx; u32 flags; int bg_scan_period; struct ieee80211_ht_cap ht_capa; struct ieee80211_ht_cap ht_capa_mask; struct ieee80211_vht_cap vht_capa; struct ieee80211_vht_cap vht_capa_mask; }; MEMBERS
channel The channel to use or NULL if not specified (auto-select based on scan results) bssid The AP BSSID or NULL if not specified (auto-select based on scan results) ssid SSID ssid_len Length of ssid in octets auth_type Authentication type (algorithm) ie IEs for association request ie_len Length of assoc_ie in octets privacy indicates whether privacy-enabled APs should be used mfp indicate whether management frame protection is used crypto crypto settings key WEP key for shared key authentication key_len length of WEP key for shared key authentication key_idx index of WEP key for shared key authentication flags See enum cfg80211_assoc_req_flags bg_scan_period Background scan period in seconds or -1 to indicate that default value is to be used. ht_capa HT Capabilities over-rides. Values set in ht_capa_mask will be used in ht_capa. Un-supported values will be ignored. ht_capa_mask The bits of ht_capa which are to be used. vht_capa VHT Capability overrides vht_capa_mask The bits of vht_capa which are to be used. DESCRIPTION
This structure provides information needed to complete IEEE 802.11 authentication and association. AUTHOR
Johannes Berg <johannes@sipsolutions.net> Author. COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 STRUCT CFG80211_CONN(9)
All times are GMT -4. The time now is 01:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy