Перейти до основного вмісту

Публікації

Показано дописи з міткою "scp"

Міграція VM між серверами ESXI

Enable SSH Service on Source and Destination ESXI Servers To enable the SSH service, log in to the web interfaces for your ESXI servers. Then click on Host at the top right. Click Actions -> Services -> Enable Secure Shell (SSH) (if it is not already enabled). Enable SSH Client Service on Source ESXI Server. Log in to the SSH of the source ESXI server using the putty tool. You may need to run the below commands: esxcli network firewall ruleset list --ruleset-id sshClient Check if the SSH client service is enabled. If disabled, the command will return a result of ‘False’. If a ‘False’ response is returned, run this next command. If ‘False’ is not the returned response, proceed to the next step! esxcli network firewall ruleset set --ruleset-id sshClient --enabled=true Copy the VM from Source to Destination Before running the below commands, make sure the VM that will be migrated is turned off in the source ESXI server. Connect to your source ESXI server using putty or your favorite

Копіювання файлів на Cisco ASA через scp

Для швикого копіювання конфігурації чи файлів на Cisco ASA можна використати scp. Потрібно 1. Enable SCP on the ASA To use the SCP method, you must first enable it on the firewall: hostname(config)# ssh scopy enable 2. Copying files to the ASA From a Unix/Linux host with OpenSSH or Tectia SSH installed: 1. Enter the following command: scp –v <filename> username@asa_address Example: scp –v asa803-19-k8.bin cisco@x.x.x.x Тут є і способи копіювання чере TFTP, FTP,HTTP, SMB, тощо https://community.cisco.com/t5/security-knowledge-base/asa-how-to-download-images-using-tftp-ftp-http-https-and-scp/tac-p/3109770 Або інший варіант On your linux system, to copy a file to the ASA scp filename myNewUusername@IP.Address.Of.ASA:filename On your linux system, to copy a file from the ASA scp myNewUusername@IP.Address.Of.ASA:filename . Please note – there is a colon ( : ) between the ip address/host name of the asa and the file name!! Пораду знайшов у https://www.seei.biz/using-scp-to-copy-files-

Міграція сервера IredMail на інший сервер

Поради щодо міграції Migrate old iRedMail server to the latest stable release https://docs.iredmail.org/migrate.to.new.iredmail.server.html Backup and restore https://docs.iredmail.org/backup.restore.html Locations of configuration and log files of major components https://docs.iredmail.org/file.locations.html#openldap Перенести теки з листами на новий сервер можна наступним чином sudo scp -P 2210 -r -p /var/vmail/vmail1/domain.ua/ root@xxx.xxx.xxx.xxx:/root/vmail.old/   де ключі -P 2210 порт ssh нового сервера -r разом з вкладеними теками -p збереження часу/дати файлів