Questions tagged [copssh]

13 questions
16
votes
6 answers

How to run a PowerShell script from Cygwin SSH session?

I have Windows Server 2003 with CopSSH installed on it ( Cygwin + sshd ). I would like to be able to run a PowerShell script via SSH session command and then use its output. Is there such a capability? How to do it?
malloc4k
  • 831
  • 2
  • 9
  • 16
11
votes
8 answers

Options for an SFTP server on a Windows Machine

We have a client who wishes to send files to us via SFTP (citing that FTP is inherently insecure). We have a Windows Environment (Windows 2003 Server). Currently, I'm reviewing copssh (OpenSSH for Windows, http://www.itefix.no/i2/copssh), and am…
Hythloth
  • 235
  • 2
  • 7
4
votes
5 answers

Alternatives to SSH for tunnelling connections

I'm currently using COPSSH to tunnel various connections to a remote Windows box and connecting using plink.exe from the PUTTY suite. After connecting directly, I've come to realise that the quality of connection using this setup is appalling.…
spender
  • 368
  • 1
  • 3
  • 13
2
votes
3 answers

Disabling all commands over SSH

Suppose use can ssh to the server and can execure FTP and connect to other sources, download a virus and execute it. Is it possible to force user to execute only some known commands?
user24912
  • 237
  • 1
  • 4
  • 9
1
vote
2 answers

CopSSH control panel overwrites sshd_config

I'm testing an instance of CopSSH on my local machine to get ready to implement an SSH server that will allow our development team to start using Mercurial over SSH. The CopSSH control panel is a useful GUI to the SSH configuration, but it inserts a…
voithos
  • 113
  • 5
1
vote
2 answers

How to upload (and measure) SFTP in parallel?

I've got a remote server that I can access via SFTP. (Not FTP over SSL. SFTP.) Periodically, I need to push a few thousand new files to that machine. How can I: Upload upload these in parallel? Gather statistics, so I can judge the ideal level of…
nonot1
  • 1,069
  • 1
  • 12
  • 16
1
vote
0 answers

Limit copssh users to home directory Windows 7

I have found these two sites below: CopSSH SFTP -- limit users access to their home directory only and http://blogs.windowsnetworking.com/wnadmin/2006/11/07/copssh-restricting-users-access/ as well as the Copssh website, but upon completion they do…
Siriss
  • 209
  • 1
  • 3
  • 13
1
vote
1 answer

COPSSH RSA only authentication connection problem

I am trying to setup an RSA Authentication only SSH/SFTP server. The SSH will be used primarily for RDC. Everything works just fine if I use password authentication. I am using Putty Key Generator to create he keys and I have pasted the key into…
Siriss
  • 209
  • 1
  • 3
  • 13
1
vote
3 answers

how i can execute windows batch file from UNIX-AIX?

how i can execute windows batch file from UNIX_AIX i install copssh ???
0
votes
1 answer

Copssh, Chrootdirectory and spurious cygwin directory

I have limited sftp users to their home directory using this answer https://serverfault.com/a/201879/65157. It all seems to be working fine. I only have 1 query though. When I ever issue an 'ls' command, there appears to be an additional…
dagda1
  • 237
  • 3
  • 6
  • 19
0
votes
2 answers

copssh: SSH "connection refused" on one machine, successful on others

While I can connect from a client to the server (openssh prompts for login info), I get "ssh: connect to host port 22: Connection refused" on another one. Being not a UNIX wizard (thus: sorry for all the wrong or missing…
TheBlastOne
  • 103
  • 1
  • 5
0
votes
1 answer

Changing copssh default FTP root breaks RSA authentication

I have a question about copssh configuration. I want to change the home directory when a user logs in via SFTP but when I change the directory in the /etc/passwd file, I am no longer able to login with my RSA key. I have blocked password…
Siriss
  • 209
  • 1
  • 3
  • 13
-2
votes
2 answers

Run bash script with multiple arguments in parallel on multiple hosts

Actually I want to execute my below bash script simultaneously on multiple hosts,i tried pssh command for this: pssh -h hosts.txt -i -I < myscript arg1 arg2 arg3 but its not executing, so plz tell me the proper way to execute this...
pawan1491
  • 27
  • 5