我在基于Windows 7的VMware(VMware®Workstation7.1.6)中安装了Ubuntu13_desktop.现在我想从Windows 7连接到Ubuntu.将WMware设置为仅限主机.在Windows中安装WinSCP,已配置
protocol: SFTP;
Host name: ubuntu;
Port: 22;
UserName: oracle;
Password: ***.
Run Code Online (Sandbox Code Playgroud)
点击登录,它显示
Searching for host...
Connection to host...
Authenticating...
Using username "oracle"
Authenticating with pre-entered password.
Access denied.
Access denied.
Run Code Online (Sandbox Code Playgroud)
我可以通过cmd成功ping Ubuntu.
谁能帮助我让我通过WinSCP访问Ubuntu?提前致谢.
我在Windows中使用WinSCP用Ubuntu连接VMware时,提示如下:
服务器拒绝 SFTP 连接,但它侦听 FTP 连接。您想使用 FTP 协议而不是 SFTP 吗?更喜欢使用加密。
怎么了?
我可以在 Windows 中成功 ping Ubuntu。
这是我的index.html中的代码
<html ng-app="">
<head>
<link rel="stylesheet" href="css/app.css">
<link rel="stylesheet" href="css/bootstrap.css">
<script src="lib/angular/angular.js"></script>
<script src="js/phoneControllers.js"></script>
<title ng-bind-template="Google Phone Gallery:{{query}}">Google Phone Gallery</title>
</head>
<body ng-controller="PhoneListCtrl">
<div class="container-fluid">
<div class="row-fluid">
<div class="span2">
Search:
<input ng-model="query">
Sory by:
<select ng-model="orderProp">
<option value="name">Alphabetical</option>
<option value="age">Newest</option>
</select>
</div>
<div class="span10">
<h1>{{Hello}}</h1>
<p>Total number of phones:{{filtered.length}}</p>
<ul class="phones">
<li ng-repeat="phone in filtered=(phones | filter:query | orderBy:orderProp)" class="thumbnail">
<span>{{$index}}</span>
<a href="#/phones/{{phone.id}}" class="thumb"><img ng-src="{{phone.imageUrl}}" /></a>
<a href="#/phones/{{phone.id}}">{{phone.name}}</a>
<p>{{phone.snippet}}</p>
</li>
</ul>
</div>
</div>
</div>
<div id="currentFilter">Current filter: {{query}}</div>
<div id="currentOrderPrep">Current …Run Code Online (Sandbox Code Playgroud)