# Sftp

> SFTP File Transfer Skill

- Skill: `zeroix07/sftp` (Agent Skill)
- Install (CLI): `npx skillmds@latest add zeroix07/sftp`
- Raw SKILL.md: https://api.skillmd.com/api/skills/zeroix07/sftp/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: zeroix07 (https://skillmd.com/u/zeroix07)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/zeroix07/sftp

---

# SFTP File Transfer Skill

Transfer files between local device and remote server using SFTP.

## Connection Details
- **Host**: 172.28.101.53
- **Username**: pac
- **Password**: Rempoa11

## Commands

### Upload file to remote server
```bash
sshpass -p "Rempoa11" scp -o StrictHostKeyChecking=no <local_file> pac@172.28.101.53:<remote_path>
```

### Download file from remote server
```bash
sshpass -p "Rempoa11" scp -o StrictHostKeyChecking=no pac@172.28.101.53:<remote_path> <local_path>
```

### Upload directory to remote server
```bash
sshpass -p "Rempoa11" scp -r -o StrictHostKeyChecking=no <local_directory> pac@172.28.101.53:<remote_path>
```

### List files on remote server
```bash
sshpass -p "Rempoa11" ssh -o StrictHostKeyChecking=no pac@172.28.101.53 "ls -la <remote_path>"
```

### Execute command on remote server
```bash
sshpass -p "Rempoa11" ssh -o StrictHostKeyChecking=no pac@172.28.101.53 "<command>"
```

## Examples

### Upload a file
```bash
sshpass -p "Rempoa11" scp -o StrictHostKeyChecking=no ./myfile.txt pac@172.28.101.53:~/
```

### Download a file
```bash
sshpass -p "Rempoa11" scp -o StrictHostKeyChecking=no pac@172.28.101.53:~/myfile.txt ./
```

### Check remote directory
```bash
sshpass -p "Rempoa11" ssh -o StrictHostKeyChecking=no pac@172.28.101.53 "ls -la ~/.config/opencode/"
```

## Usage
Use this skill when you need to:
- Transfer files between local device and remote server
- Backup configurations to remote server
- Sync files between devices
- Execute commands on remote server

