Questions tagged «ssh»

3
您如何为本地“无业游民”盒子写一个匆忙别名?
我正在尝试编写一个简单的drush别名,以连接到在本地Vagrant实例上运行的Drupal站点。 我在名为的文件中包含以下内容~/.drush/l.aliases.drushrc.php: $aliases['o'] = array( 'parent' => 'l', 'root' => '/vagrant/docroot', 'remote-host' => '127.0.0.1', 'remote-user' => 'vagrant', 'ssh-options' => '-p 2222 -i ~/.vagrant.d/insecure_private_key', 'uri' => '127.0.0.1:8080', ); 找到别名。drush sa返回: l l.o 但是,当我drush @l.o status不连接到远程主机时: PHP executable : /usr/local/bin/php PHP configuration : /usr/local/etc/php/5.3/php.ini PHP OS : Darwin Drush version : 6.1.0 …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.