sftp

Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
# 1  
sftp

can anyone suggest somewhere i might learn how to set up sftp and ssh on os x tiger? I dont find any literature on it other then suggestions of thirdparty programs to do this for you.Smilie
# 2  
Somewhere in the control panel there is a checkbox for "Enable remote logins".
# 3  
That is nearly all there is to it. Having enabled remote login, you should be able to connect from remote clients to the local machine (router firewalls allowing).

You should be able to find instructions specific to /etc/sshd_config and ssh_config from various mac tech forums, but basically you want to alter the two config files such that
-root cannot login remotely and
-ssh2 protocol is the only one allowed.

There is a lot of information about unix ssh setup out there and most of it is applicable...

Are you looking for specific information about locking remote users to specific folders?
# 4  
ya I definitely wanted to restrict users to specific folders that wouldve been my next ?

Smilie thanx Ill look up for that stuff...
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #708
Difficulty: Medium
The MySQL SELECT statement allows you to read data from only a single table.
True or False?

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Needed SFTP script from windows to UNIX server and from UNIX to windows server(reverse SFTP)

hi guys, i need a script to sftp the file from windows to unix server ....(before that i have to check whether the file exists in the windows server or not and again i have to reverse sftp the files from unix to windows server..... regards, Vasa Saikumar. (13 Replies)
Discussion started by: hemanthsaikumar
13 Replies

2. Shell Programming and Scripting

Sftp : not able to print the echo statements after the sftp transfer

I had the below sftp script working perfectly but the problem is I am not able to send the echo statements . #!/bin/sh echo "Starting to sftp..." sftp admin@myip << END_SCRIPT cd /remotepath/ lcd /localpath/ mget myfiles*.csv bye END_SCRIPT echo "Sftp successfully." echo echo... (11 Replies)
Discussion started by: scriptscript
11 Replies

3. Red Hat

Chroot sftp users, remote sftp login shows wrong timestamp on files

Hello, I have a weird issue, I have RHEL 5.7 running with openssh5.2 where sftpgroup OS group is chroot. I see the difference difference in timestamp on files, when I login via ssh and SFTP, I see four hour difference, is something missing in my configuration. #pwd... (8 Replies)
Discussion started by: bobby320
8 Replies

4. Shell Programming and Scripting

ls via sftp

Hi to all! I'm new to unix and I looking for a solution for a shell I'm developing. In this shell I have a list of filename (get from a database). For each filename I must connect to another server via sftp connection in order to verify if there is a file with that filename. After the... (1 Reply)
Discussion started by: leobdj
1 Replies

5. Shell Programming and Scripting

sftp

Hi, Can you please tell me what the below command does cat <<EOF1 > $tmp1 binary lcd $targetDir cd ${remoteDir} ls quit EOF1 cat $tmp1 set -x sftp6 -P 2246 -B $tmp1 --password=file://<ctl>/.gspass | tee outputfile Actually my requirement is if the sftp succeed, then only it... (3 Replies)
Discussion started by: help_scr_seeker
3 Replies

6. Shell Programming and Scripting

SFTP-how to log individual sftp command error while executing shell script

Hi, I have situation where i need to automate transferring 10000+ files using sftp. while read line do if ; then echo "-mput /home/student/Desktop/folder/$line/* /cygdrive/e/folder/$line/">>sftpCommand.txt fi done< files.txt sftp -b sftpCommand.txt stu@192.168.2.1 The above... (1 Reply)
Discussion started by: noobrobot
1 Replies

7. Shell Programming and Scripting

SFTP

Please ignore this message (0 Replies)
Discussion started by: B. Bhanumurthy
0 Replies

8. Shell Programming and Scripting

sftp

when executing the below script ,it was prompting password .I want password to be taken from parameter.Please any help sh a.sh file.txt a.sh === user="uesr1" pass="password12" filename=$1 source_dir="/abc/a1/xx/outputs" target_dir="/azs/zzz/cc/outputs" sftp $user@servername <<eof... (1 Reply)
Discussion started by: mohan705
1 Replies

9. AIX

SFTP Failed---Request for subsystem 'sftp' failed on channel 0

Hi, While I am trying SFTP my machine to another unix machine , it was working fine till 10 min back. But now i am getting the below error "Request for subsystem 'sftp' failed on channel 0" Could you please someone help me to solve or analyise the root cause... Cheers:b:, Mahiban (0 Replies)
Discussion started by: mahiban
0 Replies

10. UNIX for Dummies Questions & Answers

Using SFTP

I used to use an 'SFTP' command weekly, but all of a sudden it won't work. I used to do: sftp -b <file with put commands> <username>@<server> But all of a sudden every time that I try now I get: Permission denied (publickey,password,keyboard-interactive). Connection closed Any... (4 Replies)
Discussion started by: FredSmith
4 Replies

Featured Tech Videos